Files changed (4)
+Parse null-terminated string `text` into `nx_json` tree structure. The string is **modified in place**.
+Returns `NULL` on syntax error. Error details are printed out using re-definable macro `NX_JSON_REPORT_ERROR(msg,ptr)`.
+Inside parse function `nx_json` nodes get allocated using re-definable macro `NX_JSON_CALLOC()` and freed by `NX_JSON_FREE(json)`.
+All `text_value` pointers refer to the content of original `text` string, which is modified in place to unescape and null-terminate JSON string literals.
+If there is no such property returns *dummy* node of type `NX_JSON_NULL`. Never returns literal `NULL`.
+If there is no such item/property returns *dummy* node of type `NX_JSON_NULL`. Never returns literal `NULL`.