Crate read_token [−] [src]
A simple library to read tokens using look ahead
Enums
ParseStringError |
Contains errors when parsing a string. |
Functions
number |
Reads number. |
parse_string |
Parses string into a real string according to the JSON standard. |
parse_unicode |
Parses four unicode characters in hexadecimal format. |
string |
Reads string with character escapes. |
token |
Reads an expected token, return |
underscore_number |
Reads a number that can have underscore as visual separator. |
until_any |
Reads token until any character in string.
Returns |
until_any_or_whitespace |
Reads a token until any character in string or whitespace.
Returns |
whitespace |
Reads whitespace. |