#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
|
| typedef enum eGCJsonType | GCJsonType |
| |
| typedef enum eResultCallback | GCResultCallback |
| |
| typedef struct sGCJsonObject | GCJsonObject |
| |
| typedef const char * | GCString |
| |
| typedef bool(* | tJsonObjectGetBool) (const GCJsonObject obj, GCResultCallback *result) |
| |
| typedef int64_t(* | tJsonObjectGetInt) (const GCJsonObject obj, GCResultCallback *result) |
| |
| typedef double(* | tJsonObjectGetDouble) (const GCJsonObject obj, GCResultCallback *result) |
| |
| typedef char *(* | tJsonObjectGetString) (const GCJsonObject obj, GCResultCallback *result) |
| |
| typedef char *(* | tJsonObjectSerialize) (const GCJsonObject obj, GCResultCallback *result) |
| |
| typedef const GCJsonObject(* | tJsonObjectGetArrayIdx) (const GCJsonObject obj, int64_t idx, GCResultCallback *result) |
| |
| typedef const int64_t(* | tJsonObjectGetArrayLength) (const GCJsonObject obj, GCResultCallback *result) |
| |
| typedef const GCJsonObject(* | tJsonObjectGetObjectField) (const GCJsonObject obj, const char *fieldName, GCResultCallback *result) |
| |
| typedef void(* | tFreeSring) (GCString) |
| |
| typedef const struct sGCJsonCallbacks * | GCJsonCallbacks |
| |
◆ GCJsonCallbacks
◆ GCJsonObject
◆ GCJsonType
◆ GCResultCallback
◆ GCString
◆ tFreeSring
◆ tJsonObjectGetArrayIdx
◆ tJsonObjectGetArrayLength
◆ tJsonObjectGetBool
◆ tJsonObjectGetDouble
◆ tJsonObjectGetInt
◆ tJsonObjectGetObjectField
◆ tJsonObjectGetString
◆ tJsonObjectSerialize
◆ eGCJsonType
The JSON types available.
| Enumerator |
|---|
| GC_JSON_TYPE_NULL | |
| GC_JSON_TYPE_BOOL | |
| GC_JSON_TYPE_INT | |
| GC_JSON_TYPE_DOUBLE | |
| GC_JSON_TYPE_STRING | |
| GC_JSON_TYPE_ARRAY | |
| GC_JSON_TYPE_OBJECT | |
◆ eResultCallback
The result of a json callback.
| Enumerator |
|---|
| GC_JSON_OK | |
| GC_JSON_ERROR | |