#include <cJSON.h>
Shared functions for reading and writing JSON format data. A serialized JSON object can be stored in cVariant http://json.org/example.html
◆ TYPE_TYPE
Enumerator |
---|
TYPE_Null | |
TYPE_Bool | |
TYPE_Double | |
TYPE_String | |
◆ Encode()
◆ IsJSON()
Does this look like JSON vs. some other format like XML ? Assume skipped whitespace.
◆ Parse()
parse string in JSON format to a variant.
- Returns
- HRESULT if it failed.
◆ UNITTEST_FRIEND()
GrayLib::cJSON::UNITTEST_FRIEND |
( |
cJSON |
| ) |
|
◆ k_DEPTH_MAX
const int GrayLib::cJSON::k_DEPTH_MAX = 50 |
|
static |
Arbitrary max depth of read recursion.
◆ k_false
const char GrayLib::cJSON::k_false = "false" |
|
static |
◆ k_null
const char GrayLib::cJSON::k_null = "null" |
|
static |
◆ k_true
const char GrayLib::cJSON::k_true = "true" |
|
static |
The documentation for this class was generated from the following files:
- c:/Dennis/Source/Gray/GrayLib/include/Json/cJSON.h
- c:/Dennis/Source/Gray/GrayLib/src/Json/cJSON.cpp