Simple JSON  0.1
A free simple json library for C
SJson_S Struct Reference

this is the abstract container structure for all json data This structure may be an object, array, string, null, boolean value, integer or float More...

#include <simple_json_value.h>

Collaboration diagram for SJson_S:

Public Attributes

SJValueTypes sjtype
 
union {
   SJList *   array
 
   SJString *   string
 
v
 
SJString *(* get_string )(struct SJson_S *json)
 
void(* json_free )(struct SJson_S *json)
 
struct SJson_S *(* copy )(struct SJson_S *json)
 

Detailed Description

this is the abstract container structure for all json data This structure may be an object, array, string, null, boolean value, integer or float

Definition at line 19 of file simple_json_value.h.

Member Data Documentation

SJList* SJson_S::array

an array or values or an array of pairs

Definition at line 24 of file simple_json_value.h.

struct SJson_S*(* SJson_S::copy) (struct SJson_S *json)

pointer to the function to copy this json

Definition at line 29 of file simple_json_value.h.

SJString*(* SJson_S::get_string) (struct SJson_S *json)

pointer to the function to convert this into json string

Definition at line 27 of file simple_json_value.h.

void(* SJson_S::json_free) (struct SJson_S *json)

pointer to the function to free this json

Definition at line 28 of file simple_json_value.h.

SJValueTypes SJson_S::sjtype

internal tracking of the type. DO NOT TOUCH

Definition at line 21 of file simple_json_value.h.

SJString* SJson_S::string

the string if this is a string type

Definition at line 25 of file simple_json_value.h.

union { ... } SJson_S::v

union of possible values


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