libplist  2.8.0
API Documentation - Return to Homepage

◆ plist_from_json()

PLIST_API plist_err_t plist_from_json ( const char * json,
uint32_t length,
plist_t * plist )

Import the plist_t structure from JSON format.

Parameters
jsona pointer to the JSON buffer.
lengthlength of the buffer to read.
plista pointer to the imported plist.
Returns
PLIST_ERR_SUCCESS on success or a plist_err_t on failure