JsonCpp project page JsonCpp home page

Namespaces | Macros | Functions | Variables
json_value.cpp File Reference
#include <json/assertions.h>
#include <json/value.h>
#include <json/writer.h>
#include "json_batchallocator.h"
#include <math.h>
#include <sstream>
#include <utility>
#include <cstring>
#include <cassert>
#include <cstddef>
#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 ALIGNAS(byte_alignment)
 

Functions

template<typename T , typename U >
static bool Json::InRange (double d, T min, U max)
 
static char * Json::duplicateStringValue (const char *value, unsigned int length=unknown)
 Duplicates the specified string value. More...
 
static void Json::releaseStringValue (char *value)
 Free the string duplicated by duplicateStringValue(). More...
 
static bool Json::IsIntegral (double d)
 

Variables

static const unsigned char Json::kNull [sizeof(Value)] = { 0 }
 
const unsigned char & Json::kNullRef = kNull[0]
 
static const double Json::maxUInt64AsDouble = 18446744073709551615.0
 
static const unsigned int Json::unknown = (unsigned)-1
 Unknown size marker. More...
 

Macro Definition Documentation

#define ALIGNAS (   byte_alignment)

Definition at line 34 of file json_value.cpp.

#define JSON_ASSERT_UNREACHABLE   assert(false)