-
Couldn't load subscription status.
- Fork 4
JSON_GET_STR_A
Jurek Muszyński edited this page Dec 19, 2021
·
6 revisions
Retrieves string value from JSON array. If element is of different type (i.e. integer) then string representation will be returned.
Pointer to the string. If the element of required name doesn't exist, empty string is returned.
for ( int i=0; i<JSON_COUNT(&json); ++i )
OUT("<p>%d-th name: %s</p>", i, JSON_GET_STR_A(&json, i));