src/cx/json.h

changeset 946
b428424c0214
parent 937
10123f4d5618
child 954
a1d87e8fff6d
equal deleted inserted replaced
945:84a5fab8a47c 946:b428424c0214
119 119
120 CxJsonToken uncompleted; 120 CxJsonToken uncompleted;
121 int tokenizer_escape; 121 int tokenizer_escape;
122 122
123 int *states; 123 int *states;
124 int nstates; 124 unsigned nstates;
125 int states_alloc; 125 unsigned states_alloc;
126 int states_internal[8];
126 127
127 CxJsonToken reader_token; 128 CxJsonToken reader_token;
128 CxJsonReaderType reader_type; 129 CxJsonReaderType reader_type;
129 int value_ready; 130 int value_ready;
130 char *value_name; 131 char *value_name;
133 size_t value_str_len; 134 size_t value_str_len;
134 int64_t value_int; 135 int64_t value_int;
135 double value_double; 136 double value_double;
136 137
137 CxJsonValue **readvalue_stack; 138 CxJsonValue **readvalue_stack;
138 int readvalue_nelm; 139 unsigned readvalue_nelm;
139 int readvalue_alloc; 140 unsigned readvalue_alloc;
140 CxJsonValue *read_value; 141 CxJsonValue *read_value;
141 int readvalue_initialized; 142 int readvalue_initialized;
142 143
143 int reader_array_alloc; 144 unsigned reader_array_alloc;
144 145
145 int error; 146 int error;
146 }; 147 };
147 148
148 struct cx_json_array_s { 149 struct cx_json_array_s {

mercurial