JsonCpp project page JsonCpp home page

Namespaces | Macros | Functions | Variables
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_internalarray.inl"
#include "json_internalmap.inl"
#include "json_valueiterator.inl"
+ Include dependency graph for json_value.cpp:

Go to the source code of this file.

Namespaces

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

Variables

static struct Json::DummyValueAllocatorInitializer Json::dummyValueAllocatorInitializer
 

Macro Definition Documentation

◆ JSON_ASSERT

#define JSON_ASSERT (   condition)    assert( condition );

Definition at line 17 of file json_value.cpp.

◆ JSON_ASSERT_MESSAGE

#define JSON_ASSERT_MESSAGE (   condition,
  message 
)    if (!( condition )) throw std::runtime_error( message );

Definition at line 18 of file json_value.cpp.

◆ JSON_ASSERT_UNREACHABLE

#define JSON_ASSERT_UNREACHABLE   assert( false )

Definition at line 16 of file json_value.cpp.


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