Produces a document tree from a JSON markup text string that contains a complete document
- Parameters:
-
| root | a reference to a pointer to a json_t type. The function allocates memory to the passed pointer and sets up the value |
| text | a c-string containing a complete JSON text document |
- Returns:
- a pointer to the new document tree or NULL if some error occurred
Definition at line 2330 of file json.c.