@@ -228,7 +228,7 @@ typedef enum json_type_e {
228
228
json_type_false,
229
229
json_type_null
230
230
231
- } json_type ;
231
+ } json_type_t ;
232
232
233
233
/* A JSON string value. */
234
234
typedef struct json_string_s {
@@ -237,7 +237,7 @@ typedef struct json_string_s {
237
237
/* The size (in bytes) of the string */
238
238
size_t string_size;
239
239
240
- } json_string ;
240
+ } json_string_t ;
241
241
242
242
/* A JSON string value (extended). */
243
243
typedef struct json_string_ex_s {
@@ -262,7 +262,7 @@ typedef struct json_number_s {
262
262
/* the size (in bytes) of the number. */
263
263
size_t number_size;
264
264
265
- } json_number ;
265
+ } json_number_t ;
266
266
267
267
/* an element of a JSON object. */
268
268
typedef struct json_object_element_s {
@@ -273,7 +273,7 @@ typedef struct json_object_element_s {
273
273
/* the next object element (can be NULL if the last element in the object). */
274
274
struct json_object_element_s *next;
275
275
276
- } json_object_element ;
276
+ } json_object_element_t ;
277
277
278
278
/* a JSON object value. */
279
279
typedef struct json_object_s {
@@ -282,7 +282,7 @@ typedef struct json_object_s {
282
282
/* the number of elements in the object. */
283
283
size_t length;
284
284
285
- } json_object ;
285
+ } json_object_t ;
286
286
287
287
/* an element of a JSON array. */
288
288
typedef struct json_array_element_s {
@@ -291,7 +291,7 @@ typedef struct json_array_element_s {
291
291
/* the next array element (can be NULL if the last element in the array). */
292
292
struct json_array_element_s *next;
293
293
294
- } json_array_element ;
294
+ } json_array_element_t ;
295
295
296
296
/* a JSON array value. */
297
297
typedef struct json_array_s {
@@ -300,7 +300,7 @@ typedef struct json_array_s {
300
300
/* the number of elements in the array. */
301
301
size_t length;
302
302
303
- } json_array ;
303
+ } json_array_t ;
304
304
305
305
/* a JSON value. */
306
306
typedef struct json_value_s {
@@ -314,7 +314,7 @@ typedef struct json_value_s {
314
314
/* json_type_null, payload will be NULL. */
315
315
size_t type;
316
316
317
- } json_value ;
317
+ } json_value_t ;
318
318
319
319
/* a JSON value (extended). */
320
320
typedef struct json_value_ex_s {
@@ -330,7 +330,7 @@ typedef struct json_value_ex_s {
330
330
/* the row number for the value in the JSON input, in bytes. */
331
331
size_t row_no;
332
332
333
- } json_value_ex ;
333
+ } json_value_ex_t ;
334
334
335
335
/* a parsing error code. */
336
336
enum json_parse_error_e {
@@ -387,7 +387,7 @@ typedef struct json_parse_result_s {
387
387
/* the row number for the error, in bytes. */
388
388
size_t error_row_no;
389
389
390
- } json_parse_result ;
390
+ } json_parse_result_t ;
391
391
392
392
#ifdef __cplusplus
393
393
} /* extern "C". */
0 commit comments