NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
writer.h 文件参考
#include "value.h"
#include <ostream>
#include <string>
#include <vector>

浏览源代码.

class  nim_cpp_wrapper_util::Json::StreamWriter
 
class  nim_cpp_wrapper_util::Json::StreamWriter::Factory
 A simple abstract factory. 更多...
 
class  nim_cpp_wrapper_util::Json::StreamWriterBuilder
 Build a StreamWriter implementation. 更多...
 
class  nim_cpp_wrapper_util::Json::Writer
 Abstract class for writers. 更多...
 
class  nim_cpp_wrapper_util::Json::FastWriter
 Outputs a Value in JSON format without formatting (not human friendly). 更多...
 
class  nim_cpp_wrapper_util::Json::StyledWriter
 Writes a Value in JSON format in a human friendly way. 更多...
 
class  nim_cpp_wrapper_util::Json::StyledStreamWriter
 Writes a Value in JSON format in a human friendly way, to a stream rather than to a string. 更多...
 

命名空间

namespace  nim_cpp_wrapper_util
 JSON (JavaScript Object Notation).
 
namespace  nim_cpp_wrapper_util::Json
 

函数

String JSON_API nim_cpp_wrapper_util::Json::writeString (StreamWriter::Factory const &factory, Value const &root)
 Write into stringstream, then return string, for convenience. A StreamWriter will be created from the factory, used, and then deleted.
 
String JSON_API nim_cpp_wrapper_util::Json::valueToString (Int value)
 
String JSON_API nim_cpp_wrapper_util::Json::valueToString (UInt value)
 
String JSON_API nim_cpp_wrapper_util::Json::valueToString (LargestInt value)
 
String JSON_API nim_cpp_wrapper_util::Json::valueToString (LargestUInt value)
 
String JSON_API nim_cpp_wrapper_util::Json::valueToString (double value, unsigned int precision=Value::defaultRealPrecision, PrecisionType precisionType=PrecisionType::significantDigits)
 
String JSON_API nim_cpp_wrapper_util::Json::valueToString (bool value)
 
String JSON_API nim_cpp_wrapper_util::Json::valueToQuotedString (const char *value)
 
JSON_API OStream & nim_cpp_wrapper_util::Json::operator<< (OStream &, const Value &root)
 Output using the StyledStreamWriter.