enum json_error json_parse_document ( json_t **  root,
char *  text 
)

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.


Generated on Mon Mar 26 07:00:51 2018 for JSOC_Documentation by  doxygen 1.5.7.1