#include "ultrajson.h"#include <math.h>#include <assert.h>#include <string.h>#include <limits.h>#include <wchar.h>
Go to the source code of this file.
| #define RETURN_JSOBJ_NULLCHECK | ( | _expr | ) | return(_expr); |
Definition at line 54 of file ultrajsondec.c.
| typedef JSOBJ(* PFN_DECODER)(struct DecoderState *ds) |
Definition at line 53 of file ultrajsondec.c.
| enum DECODESTRINGSTATE |
Definition at line 375 of file ultrajsondec.c.
| static void ClearError | ( | struct DecoderState * | ds | ) | [static] |
Definition at line 70 of file ultrajsondec.c.
| double createDouble | ( | double | intNeg, |
| double | intValue, | ||
| double | frcValue, | ||
| int | frcDecimalCount | ||
| ) |
Definition at line 56 of file ultrajsondec.c.
| FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_any | ( | struct DecoderState * | ds | ) |
Definition at line 783 of file ultrajsondec.c.
| FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_array | ( | struct DecoderState * | ds | ) |
Definition at line 641 of file ultrajsondec.c.
| FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_false | ( | struct DecoderState * | ds | ) |
Definition at line 308 of file ultrajsondec.c.
| FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_null | ( | struct DecoderState * | ds | ) |
Definition at line 332 of file ultrajsondec.c.
| FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_numeric | ( | struct DecoderState * | ds | ) |
Definition at line 76 of file ultrajsondec.c.
| FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_object | ( | struct DecoderState * | ds | ) |
Definition at line 707 of file ultrajsondec.c.
| FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_string | ( | struct DecoderState * | ds | ) |
Definition at line 405 of file ultrajsondec.c.
| FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_true | ( | struct DecoderState * | ds | ) |
Definition at line 288 of file ultrajsondec.c.
| JSOBJ JSON_DecodeObject | ( | JSONObjectDecoder * | dec, |
| const char * | buffer, | ||
| size_t | cbBuffer | ||
| ) |
Definition at line 825 of file ultrajsondec.c.
| static JSOBJ SetError | ( | struct DecoderState * | ds, |
| int | offset, | ||
| const char * | message | ||
| ) | [static] |
Definition at line 63 of file ultrajsondec.c.
| FASTCALL_ATTR void FASTCALL_MSVC SkipWhitespace | ( | struct DecoderState * | ds | ) |
Definition at line 352 of file ultrajsondec.c.
const JSUINT8 g_decoderLookup[256] [static] |
{
DS_ISNULL, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, DS_ISQUOTE, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, DS_ISESCAPE, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
4, 4, 4, 4, 4, 4, 4, 4, DS_UTFLENERROR, DS_UTFLENERROR, DS_UTFLENERROR, DS_UTFLENERROR, DS_UTFLENERROR, DS_UTFLENERROR, DS_UTFLENERROR, DS_UTFLENERROR,
}
Definition at line 384 of file ultrajsondec.c.