GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_json_obj_attr Struct Reference

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

#include <gp_json_reader.h>

Data Fields

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

Detailed Description

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

Definition at line 254 of file gp_json_reader.h.

Field Documentation

◆ type

enum gp_json_type gp_json_obj_attr::type

A JSON object value type.

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

Definition at line 265 of file gp_json_reader.h.


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