webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
jsoncpp.cpp File Reference
#include "third_party/jsoncpp/json.h"
#include <json/assertions.h>
#include <json/reader.h>
#include <json/value.h>
#include "json_tool.h"
#include <utility>
#include <cstdio>
#include <cassert>
#include <cstring>
#include <istream>
#include <sstream>
#include <memory>
#include <set>
#include <limits>
#include <json/writer.h>
#include <math.h>
#include <cstddef>
#include <algorithm>
#include "json_valueiterator.inl"
#include <iomanip>
#include <cmath>

Classes

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 JSON_ASSERT_UNREACHABLE   assert(false)
 
#define ALIGNAS(byte_alignment)
 
#define isfinite   std::isfinite
 

Typedefs

typedef std::auto_ptr< CharReader > Json::CharReaderPtr
 
typedef std::auto_ptr< StreamWriter > Json::StreamWriterPtr
 

Enumerations

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

Functions

bool JSON_API Json::parseFromStream (CharReader::Factory const &, std::istream &, Value *root, std::string *errs)
 
std::istream & Json::operator>> (std::istream &, Value &)
 Read from 'sin' into 'root'. More...
 
void Json::throwRuntimeError (std::string const &msg)
 used internally More...
 
void Json::throwLogicError (std::string const &msg)
 used internally More...
 
std::string JSON_API Json::valueToString (LargestInt value)
 
std::string JSON_API Json::valueToString (LargestUInt value)
 
std::string Json::valueToString (double value, bool useSpecialFloats, unsigned int precision)
 
std::string JSON_API Json::valueToString (double value)
 
std::string JSON_API Json::valueToString (bool value)
 
std::string JSON_API Json::valueToQuotedString (const char *value)
 
std::string JSON_API 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...
 
std::ostream & Json::operator<< (std::ostream &, const Value &root)
 Output using the StyledStreamWriter. More...
 

Variables

const unsigned char & Json::kNullRef = kNull[0]
 

Macro Definition Documentation

◆ ALIGNAS

#define ALIGNAS (   byte_alignment)

◆ isfinite

#define isfinite   std::isfinite

◆ JSON_ASSERT_UNREACHABLE

#define JSON_ASSERT_UNREACHABLE   assert(false)

◆ LIB_JSONCPP_JSON_TOOL_H_INCLUDED

#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED

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