NIM 跨平台 C++ SDK
|
#include "nim_wrapper_util/json/assertions.h"
#include "nim_wrapper_util/json/value.h"
#include "nim_wrapper_util/json/writer.h"
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cstring>
#include <iostream>
#include <sstream>
#include <utility>
#include "json_valueiterator.inl"
命名空间 | |
namespace | nim_cpp_wrapper_util |
JSON (JavaScript Object Notation). | |
namespace | nim_cpp_wrapper_util::Json |
宏定义 | |
#define | JSON_ASSERT_UNREACHABLE assert(false) |
#define | ALIGNAS(byte_alignment) |
函数 | |
template<typename T > | |
static std::unique_ptr< T > | nim_cpp_wrapper_util::Json::cloneUnique (const std::unique_ptr< T > &p) |
template<typename T , typename U > | |
static bool | nim_cpp_wrapper_util::Json::InRange (double d, T min, U max) |
static char * | nim_cpp_wrapper_util::Json::duplicateStringValue (const char *value, size_t length) |
static char * | nim_cpp_wrapper_util::Json::duplicateAndPrefixStringValue (const char *value, unsigned int length) |
static void | nim_cpp_wrapper_util::Json::decodePrefixedString (bool isPrefixed, char const *prefixed, unsigned *length, char const **value) |
static void | nim_cpp_wrapper_util::Json::releasePrefixedStringValue (char *value) |
static void | nim_cpp_wrapper_util::Json::releaseStringValue (char *value, unsigned) |
JSONCPP_NORETURN void | nim_cpp_wrapper_util::Json::throwRuntimeError (String const &msg) |
used internally | |
JSONCPP_NORETURN void | nim_cpp_wrapper_util::Json::throwLogicError (String const &msg) |
used internally | |
static bool | nim_cpp_wrapper_util::Json::IsIntegral (double d) |
#define ALIGNAS | ( | byte_alignment | ) |
#define JSON_ASSERT_UNREACHABLE assert(false) |