| 
| 
#define  | SPECIAL_CHARS   "{}[]:,\" \n\r\t" | 
|   | 
| 
#define  | OPEN_CURLY   '{' | 
|   | 
| 
#define  | CLSE_CURLY   '}' | 
|   | 
| 
#define  | OPEN_SQUARE   '[' | 
|   | 
| 
#define  | CLSE_SQUARE   ']' | 
|   | 
| 
#define  | COMMA   ',' | 
|   | 
| 
#define  | DBLE_QUOTE   '\"' | 
|   | 
| 
#define  | MIN_AFTER_TOKEN   6 | 
|   | 
| 
#define  | NEXT_CHAR(p,  l)   p++; l--; | 
|   | 
| 
#define  | SKIP_TO_CHAR(p,  l,  c)   do { NEXT_CHAR(p, l) } while (*p != c && l != 0) | 
|   | 
| 
#define  | SKIP_DATA(pc,  lt)   while (lt != 0 && strchr(special_chars, *pc) == NULL) { NEXT_CHAR(pc, lt) } | 
|   | 
| 
#define  | SKIP_SPACES(pc,  lt)   while (lt != 0 && (*pc == ' ' || *pc == '\n' || *pc == '\r' || *pc == '\t')) { NEXT_CHAR(pc, lt) } | 
|   | 
| 
#define  | TPARSE   TSTATE | 
|   | 
string parsing utility functions described by the [JSON] schema 
- Date
 - 15/07/2010 
 
- Author
 - Adam Sturtridge