Lines Matching refs:JSON
2 jsmn (pronounced like 'jasmine') is a minimalistic JSON parser in C. It can be easily integrated in…
3 You can find more information about JSON format at json.org
7 …JSON parsers offer you a bunch of functions to load JSON data, parse it and extract any value by i…
8 JSON format itself is extremely simple, so why should we complicate it?
21 The rudimentary jsmn object is a token. Let's consider a JSON string:
27 In jsmn, tokens do not hold any data, but point to token boundaries in JSON string instead. In the …
28 Every jsmn token has a type, which indicates the type of corresponding JSON token. jsmn supports th…
34 This approach provides enough information for parsing any JSON data and makes it possible to use ze…
49 Note: Unlike JSON data types, primitive tokens are not divided into numbers, booleans and null, bec…
60 …the previous symbol before final quote. This was made to simplify string extraction from JSON data.
65 // js - pointer to JSON string
69 This will create a parser, that can parse up to 10 JSON tokens from js string.
70 Later, you can use jsmn_parse(&parser) function to process JSON string with the parser.
73 JSMN_ERROR_INVAL - bad token, JSON string is corrupted
74 JSMN_ERROR_NOMEM - not enough tokens, JSON string is too large
75 JSMN_ERROR_PART - JSON string is too short, expecting more JSON data
76 …k if return value is JSON_ERROR_PART. You will get this error until you reach the end of JSON data.