Data Structures | Namespaces | Macros | Enumerations | Functions
jsoncpp.cpp File Reference
#include "jsoncpp/json/json.h"
#include <json/config.h>
#include <clocale>
#include "json_tool.h"
#include <json/assertions.h>
#include <json/reader.h>
#include <json/value.h>
#include <cassert>
#include <cstring>
#include <istream>
#include <limits>
#include <memory>
#include <set>
#include <sstream>
#include <utility>
#include <cstdio>
#include <json/writer.h>
#include <cmath>
#include <algorithm>
#include <cstddef>
#include "json_valueiterator.inl"
#include <iomanip>

Data Structures

class  Json::OurFeatures
 
class  Json::OurReader
 
struct  Json::OurReader::StructuredError
 
class  Json::OurCharReader
 
struct  Json::CommentStyle
 Scoped enums are not available until C++11. More...
 
struct  Json::BuiltStyledStreamWriter
 

Namespaces

 Json
 JSON (JavaScript Object Notation).
 

Macros

#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED
 
#define JSONCPP_DEPRECATED_STACK_LIMIT   1000
 
#define JSON_ASSERT_UNREACHABLE   assert(false)
 
#define ALIGNAS(byte_alignment)
 
#define isnan(x)   (x != x)
 
#define isfinite   finite
 

Enumerations

enum  { Json::uintToStringBufferSize = 3 * sizeof(LargestUInt) + 1 }
 

Functions

template<typename Iter >
Iter Json::fixNumericLocale (Iter begin, Iter end)
 
template<typename Iter >
void Json::fixNumericLocaleInput (Iter begin, Iter end)
 
template<typename Iter >
Iter Json::fixZerosInTheEnd (Iter begin, Iter end)
 
bool Json::parseFromStream (CharReader::Factory const &fact, IStream &sin, Value *root, String *errs)
 
IStream & Json::operator>> (IStream &, Value &)
 Read from 'sin' into 'root'. More...
 
void Json::throwRuntimeError (String const &msg)
 used internally More...
 
void Json::throwLogicError (String const &msg)
 used internally More...
 
String Json::valueToString (LargestInt value)
 
String Json::valueToString (LargestUInt value)
 
String Json::valueToString (double value, unsigned int precision=Value::defaultRealPrecision, PrecisionType precisionType=PrecisionType::significantDigits)
 
String Json::valueToString (bool value)
 
String Json::valueToQuotedString (const char *value)
 
String Json::writeString (StreamWriter::Factory const &factory, Value const &root)
 Write into stringstream, then return string, for convenience. A StreamWriter will be created from the factory, used, and then deleted. More...
 
OStream & Json::operator<< (OStream &, const Value &root)
 Output using the StyledStreamWriter. More...
 

Macro Definition Documentation

#define ALIGNAS (   byte_alignment)
#define isfinite   finite
#define isnan (   x)    (x != x)
#define JSON_ASSERT_UNREACHABLE   assert(false)
#define JSONCPP_DEPRECATED_STACK_LIMIT   1000
#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED

Json-cpp amalgamated source (http://jsoncpp.sourceforge.net/). It is intended to be used with #include "json/json.h"