#include "ruby.h"
#include "ruby/st.h"
Go to the source code of this file.
|
static UTF32 | unescape_unicode (const unsigned char *p) |
|
static int | convert_UTF32_to_UTF8 (char *buf, UTF32 ch) |
|
static char * | JSON_parse_object (JSON_Parser *json, char *p, char *pe, VALUE *result) |
|
static char * | JSON_parse_value (JSON_Parser *json, char *p, char *pe, VALUE *result) |
|
static char * | JSON_parse_integer (JSON_Parser *json, char *p, char *pe, VALUE *result) |
|
static char * | JSON_parse_float (JSON_Parser *json, char *p, char *pe, VALUE *result) |
|
static char * | JSON_parse_array (JSON_Parser *json, char *p, char *pe, VALUE *result) |
|
static VALUE | json_string_unescape (VALUE result, char *string, char *stringEnd) |
|
static char * | JSON_parse_string (JSON_Parser *json, char *p, char *pe, VALUE *result) |
|
static VALUE | convert_encoding (VALUE source) |
|
static VALUE | cParser_initialize (int argc, VALUE *argv, VALUE self) |
|
static VALUE | cParser_parse (VALUE self) |
|
static JSON_Parser * | JSON_allocate () |
|
static void | JSON_mark (JSON_Parser *json) |
|
static void | JSON_free (JSON_Parser *json) |
|
static VALUE | cJSON_parser_s_allocate (VALUE klass) |
|
static VALUE | cParser_source (VALUE self) |
|
#define MinusInfinity "-Infinity" |
#define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD |
#define UNI_SUR_HIGH_END (UTF32)0xDBFF |
#define UNI_SUR_HIGH_START (UTF32)0xD800 |
#define UNI_SUR_LOW_END (UTF32)0xDFFF |
#define UNI_SUR_LOW_START (UTF32)0xDC00 |
typedef unsigned short UTF16 |
typedef unsigned long UTF32 |
typedef unsigned char UTF8 |
static VALUE cJSON_parser_s_allocate |
( |
VALUE |
klass | ) |
|
|
static |
static int convert_UTF32_to_UTF8 |
( |
char * |
buf, |
|
|
UTF32 |
ch |
|
) |
| |
|
static |
static char* JSON_parse_array |
( |
JSON_Parser * |
json, |
|
|
char * |
p, |
|
|
char * |
pe, |
|
|
VALUE * |
result |
|
) |
| |
|
static |
static char* JSON_parse_float |
( |
JSON_Parser * |
json, |
|
|
char * |
p, |
|
|
char * |
pe, |
|
|
VALUE * |
result |
|
) |
| |
|
static |
static char* JSON_parse_integer |
( |
JSON_Parser * |
json, |
|
|
char * |
p, |
|
|
char * |
pe, |
|
|
VALUE * |
result |
|
) |
| |
|
static |
static char* JSON_parse_object |
( |
JSON_Parser * |
json, |
|
|
char * |
p, |
|
|
char * |
pe, |
|
|
VALUE * |
result |
|
) |
| |
|
static |
static char* JSON_parse_string |
( |
JSON_Parser * |
json, |
|
|
char * |
p, |
|
|
char * |
pe, |
|
|
VALUE * |
result |
|
) |
| |
|
static |
static char* JSON_parse_value |
( |
JSON_Parser * |
json, |
|
|
char * |
p, |
|
|
char * |
pe, |
|
|
VALUE * |
result |
|
) |
| |
|
static |
static VALUE json_string_unescape |
( |
VALUE |
result, |
|
|
char * |
string, |
|
|
char * |
stringEnd |
|
) |
| |
|
static |
static UTF32 unescape_unicode |
( |
const unsigned char * |
p | ) |
|
|
static |