#include <Json.h>
|
static Json * | parseFromBytes (const char *buf, int length, int encoding=UTF8) |
|
static Json * | parseFromFile (const char *filepath, int encoding=UTF8) |
|
static void * | operator new (l2d_size_t size) |
|
static void | operator delete (void *ptr) |
|
static void * | operator new[] (l2d_size_t size) |
|
static void | operator delete[] (void *ptr) |
|
static void * | operator new (l2d_size_t size, void *ptr) |
|
static void | operator delete (void *ptr, void *ptr2) |
|
static void * | operator new (l2d_size_t size, MemoryParam *memParam) |
|
static void | operator delete (void *ptr, MemoryParam *memParam) |
|
static void * | operator new (l2d_size_t size, MemoryParam *memParam, const char *filename, int line) |
|
static void | operator delete (void *ptr, MemoryParam *memParam, const char *filename, int line) |
|
|
static const int | UTF8 = 0 |
|
static const int | SJIS = 1 |
|
static int | object_instanceCount = 0 |
|
static int | object_totalCount = 0 |
|
|
bool | parse_exe (const char *str, int len) |
|
live2d::LDString | parseString (const char *str, int len, int _pos, int *ret_endpos) |
|
Value * | parseObject (const char *buf, int len, int _pos, int *ret_endpos) |
|
Value * | parseArray (const char *buf, int len, int _pos, int *ret_endpos) |
|
Value * | parseValue (const char *buf, int len, int _pos, int *ret_endpos2) |
|
Constructor.
- Parameters
-
buf | -> |
length | -> |
_encoding | -> |
- Date
- 2013/05/21
Destructor.
- Date
- 2013/05/21
- Returns
- root ->
- Date
- 2013/05/21
bool parse_exe |
( |
const char * |
str, |
|
|
int |
len |
|
) |
| |
|
protected |
- Parameters
-
- Returns
- Date
- 2013/05/21
Value * parseArray |
( |
const char * |
buf, |
|
|
int |
len, |
|
|
int |
_pos, |
|
|
int * |
ret_endpos |
|
) |
| |
|
protected |
bool parseBytes |
( |
const char * |
buf, |
|
|
int |
length, |
|
|
int |
encoding = UTF8 |
|
) |
| |
- Parameters
-
buf | -> |
length | -> |
encoding | -> |
- Returns
- Date
- 2013/05/21
bool parseFile |
( |
const char * |
filepath, |
|
|
int |
encoding = UTF8 |
|
) |
| |
Json * parseFromBytes |
( |
const char * |
buf, |
|
|
int |
length, |
|
|
int |
encoding = UTF8 |
|
) |
| |
|
static |
Json * parseFromFile |
( |
const char * |
filepath, |
|
|
int |
encoding = UTF8 |
|
) |
| |
|
static |
Value * parseObject |
( |
const char * |
buf, |
|
|
int |
len, |
|
|
int |
_pos, |
|
|
int * |
ret_endpos |
|
) |
| |
|
protected |
live2d::LDString parseString |
( |
const char * |
str, |
|
|
int |
len, |
|
|
int |
_pos, |
|
|
int * |
ret_endpos |
|
) |
| |
|
protected |
Value * parseValue |
( |
const char * |
buf, |
|
|
int |
len, |
|
|
int |
_pos, |
|
|
int * |
ret_endpos2 |
|
) |
| |
|
protected |
The documentation for this class was generated from the following files:
- src/util/Json.h
- src/util/Json.cpp