16 template<
typename OutputHandler>
20 bool Null() {
return out_.Null(); }
21 bool Bool(
bool b) {
return out_.Bool(b); }
22 bool Int(
int i) {
return out_.Int(i); }
23 bool Uint(
unsigned u) {
return out_.Uint(u); }
26 bool Double(
double d) {
return out_.Double(d); }
30 for (
SizeType i = 0; i < length; i++)
31 buffer_.push_back(static_cast<char>(std::toupper(str[i])));
32 return out_.String(&buffer_.front(), length,
true);
51 char readBuffer[65536];
55 char writeBuffer[65536];
61 if (!reader.
Parse(is, filter)) {
RAPIDJSON_NAMESPACE_BEGIN typedef unsigned SizeType
Size type (for string lengths, array sizes, etc.)
bool String(const char *str, SizeType length, bool)
bool RawNumber(const char *str, SizeType length, bool copy)
bool EndObject(SizeType memberCount)
void copy(key &AA, const key &A)
bool EndArray(SizeType elementCount)
ParseResult Parse(InputStream &is, Handler &handler)
Parse JSON text.
CapitalizeFilter(OutputHandler &out)
File byte stream for input using fread().
std::vector< char > buffer_
unsigned __int64 uint64_t
RAPIDJSON_NAMESPACE_BEGIN const RAPIDJSON_ERROR_CHARTYPE * GetParseError_En(ParseErrorCode parseErrorCode)
Maps error code of parsing into error message.
ParseErrorCode GetParseErrorCode() const
Get the ParseErrorCode of last parsing.
connection< TProtocol > & operator=(const connection< TProtocol > &obj)
size_t GetErrorOffset() const
Get the position of last parsing error in input, 0 otherwise.
Wrapper of C file stream for output using fwrite().
bool Key(const char *str, SizeType length, bool copy)