Module jsmn_rs::raw[][src]

This module provides raw bindings to the jsmn library, generated by bindgen. It is not needed for most use cases, as the more Rustic interface is provided.

Structs

jsmn_parser

JSON parser. Contains an array of token blocks available. Also stores the string being parsed now and current position in that string

jsmntok_t

JSON token description. type type (object, array, string etc.) start start position in JSON data string end end position in JSON data string

Enums

jsmnerr
jsmntype_t

JSON type identifier. Basic types are: o Object o Array o String o Other primitive: number, boolean (true/false) or null

Functions

jsmn_init

Create JSON parser over an array of tokens

jsmn_parse

Run JSON parser. It parses a JSON data string into and array of tokens, each describing a single JSON object.