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