NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
json_value.cpp 文件参考
#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)
 

宏定义说明

◆ ALIGNAS

#define ALIGNAS (   byte_alignment)

◆ JSON_ASSERT_UNREACHABLE

#define JSON_ASSERT_UNREACHABLE   assert(false)