Add json parse and stringify function to jerryscript c api (#2243)

JerryScript-DCO-1.0-Signed-off-by: Zsolt Raduska rzsolt@inf.u-szeged.hu
This commit is contained in:
ZsoltRaduska
2018-04-05 09:58:07 +02:00
committed by László Langó
parent 0476523f1a
commit 78bd11e732
7 changed files with 264 additions and 38 deletions
@@ -18,6 +18,8 @@
#include "ecma-builtin-helpers.h"
#include "lit-char-helpers.h"
#ifndef CONFIG_DISABLE_JSON_BUILTIN
/** \addtogroup ecma ECMA
* @{
*
@@ -221,6 +223,8 @@ ecma_builtin_helper_json_create_non_formatted_json (lit_utf8_byte_t left_bracket
return ecma_make_string_value (result_str_p);
} /* ecma_builtin_helper_json_create_non_formatted_json */
#endif /* !CONFIG_DISABLE_JSON_BUILTIN */
/**
* @}
* @}