Go to the source code of this file.
◆ main()
int main |
( |
int | , |
|
|
char * | [] ) |
Definition at line 48 of file capitalize.cpp.
48 {
49
51 char readBuffer[65536];
53
54
55 char writeBuffer[65536];
58
59
61 if (!reader.
Parse(is, filter)) {
63 return 1;
64 }
65
66 return 0;
67}
File byte stream for input using fread().
Wrapper of C file stream for output using fwrite().
ParseResult Parse(InputStream &is, Handler &handler)
Parse JSON text.
ParseErrorCode GetParseErrorCode() const
Get the ParseErrorCode of last parsing.
size_t GetErrorOffset() const
Get the position of last parsing error in input, 0 otherwise.
RAPIDJSON_NAMESPACE_BEGIN const RAPIDJSON_ERROR_CHARTYPE * GetParseError_En(ParseErrorCode parseErrorCode)
Maps error code of parsing into error message.