-
Notifications
You must be signed in to change notification settings - Fork 50
MTY_JSONString
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Get the string value from an MTY_JSON
string.
bool MTY_JSONString(
const MTY_JSON * json,
char * value,
size_t size
);
json
(const MTY_JSON *
)
An MTY_JSON
string.
value
(char *
)
Filled with the string value from json
.
size
(size_t
)
Size in bytes of value
.
bool
Returns true
on success, false
if the type of json
is not MTY_JSON_STRING
or the string value from json
could not fit in value
.