JsonCpp project page Classes Namespace JsonCpp home page

json_value.cpp File Reference
#include <json/assertions.h>
#include <json/value.h>
#include <json/writer.h>
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cstring>
#include <iostream>
#include <sstream>
#include <utility>
#include <stdarg.h>
#include "json_valueiterator.inl"

Namespaces

 Json
 JSON (JavaScript Object Notation).
 

Macros

#define JSON_ASSERT_UNREACHABLE   assert(false)
 
#define ALIGNAS(byte_alignment)
 

Functions

static int msvc_pre1900_c99_vsnprintf (char *outBuf, size_t size, const char *format, va_list ap)
 
int msvc_pre1900_c99_snprintf (char *outBuf, size_t size, const char *format,...)
 
template<typename T >
static std::unique_ptr< T > Json::cloneUnique (const std::unique_ptr< T > &p)
 
template<typename T , typename U >
static bool Json::InRange (double d, T min, U max)
 
static char * Json::duplicateStringValue (const char *value, size_t length)
 Duplicates the specified string value. More...
 
static char * Json::duplicateAndPrefixStringValue (const char *value, unsigned int length)
 
static void Json::decodePrefixedString (bool isPrefixed, char const *prefixed, unsigned *length, char const **value)
 
static void Json::releasePrefixedStringValue (char *value)
 Free the string duplicated by duplicateStringValue()/duplicateAndPrefixStringValue(). More...
 
static void Json::releaseStringValue (char *value, unsigned)
 
 Json::__declspec (noreturn) void throwRuntimeError(String const &msg)
 used internally More...
 
static bool Json::IsIntegral (double d)
 

Macro Definition Documentation

◆ ALIGNAS

#define ALIGNAS (   byte_alignment)

◆ JSON_ASSERT_UNREACHABLE

#define JSON_ASSERT_UNREACHABLE   assert(false)

Function Documentation

◆ msvc_pre1900_c99_snprintf()

int msvc_pre1900_c99_snprintf ( char *  outBuf,
size_t  size,
const char *  format,
  ... 
)

◆ msvc_pre1900_c99_vsnprintf()

static int msvc_pre1900_c99_vsnprintf ( char *  outBuf,
size_t  size,
const char *  format,
va_list  ap 
)
static