JsonCpp project page | Classes | Namespace | JsonCpp home page

Namespaces | Macros | Typedefs | Functions | Variables
json_writer.cpp File Reference
`#include "json_tool.h"`
`#include <json/writer.h>`
`#include <cassert>`
`#include <cstring>`
`#include <iomanip>`
`#include <memory>`
`#include <set>`
`#include <sstream>`
`#include <utility>`
`#include <cmath>`
`#include <cstdio>`
`#include <float.h>`
Include dependency graph for json_writer.cpp:

Go to the source code of this file.

## Namespaces
| Json
| JSON (JavaScript Object Notation).

## Macros
#define | isnan _isnan
#define | isfinite _finite
#define | _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1

## Typedefs
typedef std::auto_ptr< StreamWriter > | Json::StreamWriterPtr

## Functions
String | Json::valueToString (LargestInt value)
String | Json::valueToString (LargestUInt value)
String | Json::valueToString (Int value)
String | Json::valueToString (UInt value)
String | Json::valueToString (double value, unsigned int precision=Value::defaultRealPrecision, PrecisionType precisionType=PrecisionType::significantDigits)
String | Json::valueToString (bool value)
static bool | Json::isAnyCharRequiredQuoting (char const *s, size_t n)
static unsigned int | Json::utf8ToCodepoint (const char *&s, const char *e)
static String | Json::toHex16Bit (unsigned int x)
static String | Json::valueToQuotedStringN (const char *value, unsigned length)
String | Json::valueToQuotedString (const char *value)
static void | Json::getValidWriterKeys (std::set< String > *valid_keys)
String | Json::writeString (StreamWriter::Factory const &factory, Value const &root)
| Write into stringstream, then return string, for convenience. More...
OStream & | Json::operator<< (OStream &, const Value &root)
| Output using the StyledStreamWriter. More...

## Variables
static const char | Json::hex2 []

## Macro Definition Documentation

## ◆ _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES

#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1

Definition at line 46 of file json_writer.cpp.

## ◆ isfinite

#define isfinite _finite

Definition at line 42 of file json_writer.cpp.

## ◆ isnan

#define isnan _isnan

Definition at line 37 of file json_writer.cpp.