Go to the source code of this file.
|
| int | main (int argc, char *argv[]) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 108 of file filterkey.cpp.
110 fprintf(stderr,
"filterkey key < input.json > output.json\n");
116 char readBuffer[65536];
120 char writeBuffer[65536];
129 if (!reader.
Parse(is, filter)) {
ParseResult Parse(InputStream &is, Handler &handler)
Parse JSON text.
File byte stream for input using fread().
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.
size_t GetErrorOffset() const
Get the position of last parsing error in input, 0 otherwise.
Wrapper of C file stream for output using fwrite().