JsonCpp project page | JsonCpp home page |
#include <iostream>
#include <json/value.h>
#include <json/writer.h>
#include <utility>
#include <stdexcept>
#include <cstring>
#include <cassert>
#include <cstddef>
#include "json_batchallocator.h"
#include "json_internalarray.inl"
#include "json_internalmap.inl"
#include "json_valueiterator.inl"
Go to the source code of this file.
Namespaces | |
namespace | Json |
JSON (JavaScript Object Notation). | |
Macros | |
#define | JSON_ASSERT_UNREACHABLE assert( false ) |
#define | JSON_ASSERT(condition) assert( condition ); |
#define | JSON_ASSERT_MESSAGE(condition, message) if (!( condition )) throw std::runtime_error( message ); |
Functions | |
static ValueAllocator *& | Json::valueAllocator () |
static ValueArrayAllocator *& | Json::arrayAllocator () |
static ValueMapAllocator *& | Json::mapAllocator () |
Variables | |
static struct Json::DummyValueAllocatorInitializer | Json::dummyValueAllocatorInitializer |
static struct Json::DummyArrayAllocatorInitializer | Json::dummyArrayAllocatorInitializer |
static struct Json::DummyMapAllocatorInitializer | Json::dummyMapAllocatorInitializer |
#define JSON_ASSERT | ( | condition | ) | assert( condition ); |
Definition at line 17 of file json_value.cpp.
Referenced by Json::Value::asCString(), Json::Value::clear(), Json::Value::getMemberNames(), Json::Value::operator[](), Json::Value::removeMember(), and Json::Value::resize().
#define JSON_ASSERT_MESSAGE | ( | condition, | |
message | |||
) | if (!( condition )) throw std::runtime_error( message ); |
Definition at line 18 of file json_value.cpp.
Referenced by Json::Value::asDouble(), Json::Value::asInt(), Json::Value::asString(), Json::Value::asUInt(), Json::ValueInternalMap::unsafeAdd(), and Json::ValueInternalArray::ValueInternalArray().
#define JSON_ASSERT_UNREACHABLE assert( false ) |
Definition at line 16 of file json_value.cpp.
Referenced by Json::Value::asBool(), Json::Value::asDouble(), Json::Value::asInt(), Json::Value::asString(), Json::Value::asUInt(), Json::Value::isConvertibleTo(), Json::Value::operator<(), Json::Value::operator==(), Json::Value::size(), Json::Value::Value(), and Json::Value::~Value().
|
hosts this site. |
Send comments to: Json-cpp Developers |