#include <json/writer.h>#include "json_tool.h"#include <iomanip>#include <memory>#include <sstream>#include <utility>#include <set>#include <cassert>#include <cstring>#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 | isfinite _finite |
| #define | snprintf _snprintf |
Typedefs | |
| typedef std::auto_ptr< StreamWriter > | Json::StreamWriterPtr |
Functions | |
| std::string | Json::valueToString (LargestInt value) |
| std::string | Json::valueToString (LargestUInt value) |
| std::string | Json::valueToString (Int value) |
| std::string | Json::valueToString (UInt value) |
| std::string | Json::valueToString (double value) |
| std::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 std::string | Json::toHex16Bit (unsigned int x) |
| static std::string | Json::valueToQuotedStringN (const char *value, unsigned length) |
| std::string | Json::valueToQuotedString (const char *value) |
| static void | Json::getValidWriterKeys (std::set< std::string > *valid_keys) |
| std::string | Json::writeString (StreamWriter::Factory const &factory, Value const &root) |
| Write into stringstream, then return string, for convenience. More... | |
| std::ostream & | Json::operator<< (std::ostream &, const Value &root) |
| Output using the StyledStreamWriter. More... | |
Variables | |
| static const char | Json::hex2 [] |
| #define isfinite _finite |
Definition at line 21 of file json_writer.cpp.
Referenced by Json::valueToString().
| #define snprintf _snprintf |
Definition at line 55 of file json_writer.cpp.
Referenced by Json::valueToString().
1.8.13