Go to the source code of this file.
◆ main()
int main |
( |
int | , |
|
|
char * | [] ) |
Definition at line 14 of file condense.cpp.
14 {
15
17 char readBuffer[65536];
19
20
21 char writeBuffer[65536];
24
25
26 if (!reader.
Parse(is, writer)) {
28 return 1;
29 }
30
31 return 0;
32}
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.