Lines Matching refs:JSON
6 jsmn (pronounced like 'jasmine') is a minimalistic JSON parser in C. It can be
9 You can find more information about JSON format at [json.org][1]
19 Most JSON parsers offer you a bunch of functions to load JSON data, parse it
21 every JSON packet or allocating temporary objects to store parsed JSON fields
24 JSON format itself is extremely simple, so why should we complicate it?
48 The rudimentary jsmn object is a **token**. Let's consider a JSON string:
58 In jsmn, tokens do not hold any data, but point to token boundaries in JSON
62 Every jsmn token has a type, which indicates the type of corresponding JSON
76 This approach provides enough information for parsing any JSON data and makes
108 **Note:** Unlike JSON data types, primitive tokens are not divided into
127 to simplify string extraction from JSON data.
136 // js - pointer to JSON string
141 This will create a parser, and then it tries to parse up to 10 JSON tokens from
152 * `JSMN_ERROR_INVAL` - bad token, JSON string is corrupted
153 * `JSMN_ERROR_NOMEM` - not enough tokens, JSON string is too large
154 * `JSMN_ERROR_PART` - JSON string is too short, expecting more JSON data
159 You will get this error until you reach the end of JSON data.