-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_JSONReadFile
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Parse the contents of a file into an MTY_JSON
item.
MTY_JSON *MTY_JSONReadFile(
const char * path
);
path
(const char *
)
Path to the serialized JSON file.
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.