62f8d7c885
We have to use jerry_get_string_size() to get the necessary buffer size instead of jerry_get_string_length() and jerry_json_stringify(). JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu