#include <string>
#include <vector>
#include <map>
#include <deque>
#include <iosfwd>
#include <stack>
#include <stdlib.h>
#include <stdexcept>
Classes | |
class | Json::Features |
Configuration passed to reader and writer. More... | |
class | Json::StaticString |
Lightweight wrapper to tag static string. More... | |
class | Json::Value |
Represents a JSON value. More... | |
class | Json::Value::CZString |
struct | Json::Value::CommentInfo |
union | Json::Value::ValueHolder |
class | Json::PathArgument |
Experimental and untested: represents an element of the "path" to access a node. More... | |
class | Json::Path |
Experimental and untested: represents a "path" to access a node. More... | |
class | Json::ValueIteratorBase |
base class for Value iterators. More... | |
class | Json::ValueConstIterator |
const iterator for object and array value. More... | |
class | Json::ValueIterator |
Iterator for object and array value. More... | |
class | Json::Reader |
Unserialize a JSON document into a Value. More... | |
struct | Json::Reader::StructuredError |
An error tagged with where in the JSON text it was encountered. More... | |
class | Json::Reader::Token |
class | Json::Reader::ErrorInfo |
class | Json::Writer |
Abstract class for writers. More... | |
class | Json::FastWriter |
Outputs a Value in JSON format without formatting (not human friendly). More... | |
class | Json::StyledWriter |
Writes a Value in JSON format in a human friendly way. More... | |
class | Json::StyledStreamWriter |
Writes a Value in JSON format in a human friendly way, to a stream rather than to a string. More... | |
Namespaces | |
Json | |
JSON (JavaScript Object Notation). | |
Enumerations | |
enum | Json::ValueType { Json::nullValue = 0, Json::intValue, Json::uintValue, Json::realValue, Json::stringValue, Json::booleanValue, Json::arrayValue, Json::objectValue } |
Type of the value held by a Value object. More... | |
enum | Json::CommentPlacement { Json::commentBefore = 0, Json::commentAfterOnSameLine, Json::commentAfter, Json::numberOfCommentPlacement } |
Functions | |
JSON_API std::istream & | Json::operator>> (std::istream &, Value &) |
Read from 'sin' into 'root'. More... | |
std::string JSON_API | Json::valueToString (Int value) |
std::string JSON_API | Json::valueToString (UInt value) |
std::string JSON_API | Json::valueToString (LargestInt value) |
std::string JSON_API | Json::valueToString (LargestUInt value) |
std::string JSON_API | Json::valueToString (double value) |
std::string JSON_API | Json::valueToString (bool value) |
std::string JSON_API | Json::valueToQuotedString (const char *value) |
JSON_API std::ostream & | Json::operator<< (std::ostream &, const Value &root) |
Output using the StyledStreamWriter. More... | |
#define CPPTL_JSON_ASSERTIONS_H_INCLUDED |
#define CPPTL_JSON_FEATURES_H_INCLUDED |
#define CPPTL_JSON_H_INCLUDED |
#define CPPTL_JSON_READER_H_INCLUDED |
#define JSON_API |
If defined, indicates that the source file is amalgated to prevent private header inclusion.
Remarks: it is automatically defined in the generated amalgated header.
#define JSON_ASSERT | ( | condition | ) | assert(condition); |
#define JSON_ASSERT_MESSAGE | ( | condition, | |
message | |||
) |
#define JSON_CONFIG_H_INCLUDED |
#define JSON_FAIL_MESSAGE | ( | message | ) | throw std::runtime_error(message); |
#define JSON_FORWARDS_H_INCLUDED |
#define JSON_HAS_INT64 |
#define JSON_IS_AMALGAMATION |
Json-cpp amalgated header (http://jsoncpp.sourceforge.net/).
It is intented to be used with #include <json/json.h>
If defined, indicates that the source file is amalgated to prevent private header inclusion.
#define JSON_USE_EXCEPTION 1 |
If defined, indicates that json library is embedded in CppTL library.
If defined, indicates that json may leverage CppTL library If defined, indicates that cpptl vector based map should be used instead of std::map as Value container. If defined, indicates that Json specific container should be used (hash table & simple deque container with customizable allocator). THIS FEATURE IS STILL EXPERIMENTAL! There is know bugs: See #3177332 Force usage of standard new/malloc based allocator instead of memory pool based allocator. The memory pools allocator used optimization (initializing Value and ValueInternalLink as if it was a POD) that may cause some validation tool to report errors. Only has effects if JSON_VALUE_USE_INTERNAL_MAP is defined.
#define JSON_VERSION_H_INCLUDED |
#define JSON_WRITER_H_INCLUDED |
#define JSONCPP_DEPRECATED | ( | message | ) |
#define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | (JSONCPP_VERSION_PATCH << 8)) |
#define JSONCPP_VERSION_MAJOR 1 |
#define JSONCPP_VERSION_MINOR 0 |
#define JSONCPP_VERSION_PATCH 0 |
#define JSONCPP_VERSION_QUALIFIER |
#define JSONCPP_VERSION_STRING "1.0.0" |