#include <json/json.h>
#include <json/reader.h>
#include <json/value.h>
#include "json_tool.h"
#include <utility>
#include <cstdio>
#include <cassert>
#include <cstring>
#include <iostream>
#include <stdexcept>
#include <stdlib.h>
#include <assert.h>
#include <json/writer.h>
#include "json_batchallocator.h"
#include <cstddef>
#include "json_valueiterator.inl"
#include <stdio.h>
#include <string.h>
#include <sstream>
#include <iomanip>
Go to the source code of this file.
|
| Json |
| JSON (JavaScript Object Notation).
|
|
|
static std::string | Json::codePointToUTF8 (unsigned int cp) |
| Converts a unicode code-point to UTF-8. More...
|
|
static bool | Json::containsControlCharacter (const char *str) |
|
static bool | Json::containsNewLine (Reader::Location begin, Reader::Location end) |
|
static char * | Json::duplicateStringValue (const char *value, unsigned int length=unknown) |
|
static bool | Json::in (Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4) |
|
static bool | Json::in (Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4, Reader::Char c5) |
|
static bool | Json::isControlCharacter (char ch) |
| Returns true if ch is a control character (in range [0,32[). More...
|
|
std::ostream & | Json::operator<< (std::ostream &, const Value &root) |
| Output using the StyledStreamWriter. More...
|
|
std::istream & | Json::operator>> (std::istream &, Value &) |
| Read from 'sin' into 'root'. More...
|
|
static void | Json::releaseStringValue (char *value) |
|
static void | Json::uintToString (LargestUInt value, char *¤t) |
|
std::string JSON_API | Json::valueToQuotedString (const char *value) |
|
std::string JSON_API | Json::valueToString (LargestInt value) |
|
std::string JSON_API | Json::valueToString (LargestUInt value) |
|
std::string JSON_API | Json::valueToString (double value) |
|
std::string JSON_API | Json::valueToString (bool value) |
|
#define JSON_ASSERT |
( |
|
condition | ) |
assert( condition ); |
#define JSON_ASSERT_MESSAGE |
( |
|
condition, |
|
|
|
message |
|
) |
| if (!( condition )) JSON_FAIL_MESSAGE( message ) |
#define JSON_ASSERT_UNREACHABLE assert( false ) |
#define JSON_FAIL_MESSAGE |
( |
|
message | ) |
throw std::runtime_error( message ); |
#define JSONCPP_BATCHALLOCATOR_H_INCLUDED |
#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED |