|
Gateway C ABI
|
The JSON configuration data and parsing callbacks. More...
#include <json.h>
Data Fields | |
| tJsonObjectGetBool | getBool |
| Parse a boolean from a JSON object. | |
| tJsonObjectGetInt | getInt |
| Parse an integer from a JSON object. | |
| tJsonObjectGetDouble | getDouble |
| Parse a double from a JSON object. | |
| tJsonObjectGetString | getString |
| Parse a string from a JSON object. | |
| tJsonObjectGetArrayIdx | getArrayIdx |
| Get an element from a JSON array. | |
| tJsonObjectGetArrayLength | getArrayLength |
| Get the length of a JSON array. | |
| tJsonObjectGetObjectField | getObjectField |
| Get a field from a JSON object. | |
| tJsonObjectSerialize | getObjectSerialized |
| Serialize a JSON object to a string. | |
| tFreeSring | freeString |
| Free a string. | |
| const GCJsonObject | data |
| The plugin specific configuration. | |
The JSON configuration data and parsing callbacks.
This struct holds the JSON configuration data and the parsing callbacks that the plugin can use to parse the configuration.
| const GCJsonObject sGCJsonCallbacks::data |
The plugin specific configuration.
Represents the top level JSON object that contains the plugin specific configuration set by the user.
| tFreeSring sGCJsonCallbacks::freeString |
Free a string.
Free a string returned by getString or getObjectSerialized.
| str | The string to free |
| tJsonObjectGetArrayIdx sGCJsonCallbacks::getArrayIdx |
Get an element from a JSON array.
| obj | The JSON object |
| idx | The index of the element to get |
| result | The result of the operation |
| tJsonObjectGetArrayLength sGCJsonCallbacks::getArrayLength |
Get the length of a JSON array.
| obj | The JSON object |
| result | The result of the operation |
| tJsonObjectGetBool sGCJsonCallbacks::getBool |
Parse a boolean from a JSON object.
| obj | The JSON object |
| result | The result of the operation |
| tJsonObjectGetDouble sGCJsonCallbacks::getDouble |
Parse a double from a JSON object.
| obj | The JSON object |
| result | The result of the operation |
| tJsonObjectGetInt sGCJsonCallbacks::getInt |
Parse an integer from a JSON object.
| obj | The JSON object |
| result | The result of the operation |
| tJsonObjectGetObjectField sGCJsonCallbacks::getObjectField |
Get a field from a JSON object.
| obj | The JSON object |
| fieldName | The name of the field to get |
| result | The result of the operation |
| tJsonObjectSerialize sGCJsonCallbacks::getObjectSerialized |
Serialize a JSON object to a string.
| obj | The JSON object |
| result | The result of the operation |
| tJsonObjectGetString sGCJsonCallbacks::getString |
Parse a string from a JSON object.
| obj | The JSON object |
| result | The result of the operation |