ujson
Complete and simple JSON reader and writer written in C
Data Fields
ujson_obj_attr Struct Reference

A JSON object attribute description i.e. key and type. More...

#include <ujson_reader.h>

Data Fields

const char * key
 A JSON object key name.
 
enum ujson_type type
 A JSON object value type. More...
 

Detailed Description

A JSON object attribute description i.e. key and type.

Definition at line 279 of file ujson_reader.h.

Field Documentation

◆ type

enum ujson_type ujson_obj_attr::type

A JSON object value type.

Note that because integer numbers are subset of floating point numbers if requested type was UJSON_FLOAT it will match if parsed type was UJSON_INT and the val_float will be set in addition to val_int.

Definition at line 281 of file ujson_reader.h.


The documentation for this struct was generated from the following file: