Namespaces | |
namespace | JB_Json |
namespace | std |
Classes | |
class | Features |
class | StaticString |
class | Value |
class | Value::CZString |
struct | Value::CommentInfo |
union | Value::ValueHolder |
class | PathArgument |
class | Path |
class | ValueIteratorBase |
class | ValueConstIterator |
class | ValueIterator |
class | Reader |
class | Reader::Token |
class | Reader::ErrorInfo |
class | CharReader |
Interface for reading JSON from a char array. More... | |
class | CharReader::Factory |
class | CharReaderBuilder |
class | StreamWriter |
Usage:. More... | |
class | StreamWriter::Factory |
class | StreamWriterBuilder |
class | Writer |
class | FastWriter |
class | StyledWriter |
class | StyledStreamWriter |
Defines | |
#define | JSON_IS_AMALGAMATION |
Json-cpp amalgated header (http://jsoncpp.sourceforge.net/). It is intented to be used with include <json/json.h>. | |
#define | JSONCPP_VERSION_STRING "0.8.1" |
#define | JSONCPP_VERSION_MAJOR 0 |
#define | JSONCPP_VERSION_MINOR 8 |
#define | JSONCPP_VERSION_PATCH 1 |
#define | JSONCPP_VERSION_QUALIFIER |
#define | JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | (JSONCPP_VERSION_PATCH << 8)) |
#define | JSON_USE_EXCEPTION 1 |
If defined, indicates that json library is embedded in CppTL library. | |
#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 | JSONCPP_DEPRECATED(message) __declspec(deprecated(message)) |
Indicates that the following function is deprecated. | |
#define | JSON_HAS_INT64 |
#define | JSON_ASSERT(condition) assert(condition); |
#define | JSON_FAIL_MESSAGE(message) do{std::ostringstream oss; oss << message; throw std::runtime_error(oss.str());}while(0) |
#define | JSON_ASSERT_MESSAGE(condition, message) |
Typedefs | |
typedef int | Int |
typedef unsigned int | UInt |
typedef __int64 | Int64 |
typedef unsigned __int64 | UInt64 |
typedef Int64 | LargestInt |
typedef UInt64 | LargestUInt |
typedef unsigned int | ArrayIndex |
Enumerations | |
enum | ValueType { nullValue = 0, intValue, uintValue, realValue, stringValue, booleanValue, arrayValue, objectValue } |
enum | CommentPlacement { commentBefore = 0, commentAfterOnSameLine, commentAfter, numberOfCommentPlacement } |
Functions | |
template<> | |
void | swap (JB_Json::Value &a, JB_Json::Value &b) |
Specialize std::swap() for JB_Json::Value. | |
bool | parseFromStream (CharReader::Factory const &, std::istream &, Value *root, std::string *errs) |
Consume entire stream and use its begin/end. | |
JSON_API std::istream & | operator>> (std::istream &, Value &) |
std::string | writeString (StreamWriter::Factory const &factory, Value const &root) |
std::string JSON_API | valueToString (Int value) |
std::string JSON_API | valueToString (UInt value) |
std::string JSON_API | valueToString (LargestInt value) |
std::string JSON_API | valueToString (LargestUInt value) |
std::string JSON_API | valueToString (double value) |
std::string JSON_API | valueToString (bool value) |
std::string JSON_API | valueToQuotedString (const char *value) |
JSON_API std::ostream & | operator<< (std::ostream &, const Value &root) |
#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 | ) |
Value:
if (!(condition)) { \ JSON_FAIL_MESSAGE(message); \ }
#define JSON_FAIL_MESSAGE | ( | message | ) | do{std::ostringstream oss; oss << message; throw std::runtime_error(oss.str());}while(0) |
#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 JSONCPP_DEPRECATED | ( | message | ) | __declspec(deprecated(message)) |
Indicates that the following function is deprecated.
#define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | (JSONCPP_VERSION_PATCH << 8)) |
#define JSONCPP_VERSION_MAJOR 0 |
#define JSONCPP_VERSION_MINOR 8 |
#define JSONCPP_VERSION_PATCH 1 |
#define JSONCPP_VERSION_QUALIFIER |
#define JSONCPP_VERSION_STRING "0.8.1" |