Skip to content

MTY_JSONParse

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Parse a string into an MTY_JSON item.

MTY_JSON *MTY_JSONParse(
    const char * input
);

Parameters

input (const char *)

Serialized JSON string.

Return value

MTY_JSON *

On failure, NULL is returned. Call MTY_GetLog for details.

The returned MTY_JSON item should be destroyed with MTY_JSONDestroy if it remains the root item in the hierarchy.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: JSON

Clone this wiki locally