JsonCpp project page JsonCpp home page

json_value.cpp File Reference

#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_valueiterator.inl"

Include dependency graph for json_value.cpp:

Go to the source code of this file.


Namespaces

namespace  Json
 JSON (JavaScript Object Notation).

Defines

#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 ()

Variables

static struct
Json::DummyValueAllocatorInitializer 
Json::dummyValueAllocatorInitializer


Define Documentation

#define JSON_ASSERT ( condition   )     assert( condition );

Definition at line 17 of file json_value.cpp.

Referenced by Json::ValueIteratorBase::ValueIteratorBase().

#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::ValueIteratorBase::ValueIteratorBase().

#define JSON_ASSERT_UNREACHABLE   assert( false )

Definition at line 16 of file json_value.cpp.

Referenced by Json::Value::compare().


SourceForge Logo hosts this site. Send comments to:
Json-cpp Developers