140                                 {
  141    if (argc != 2) {
  142        fprintf(stderr, "filterkeydom key < input.json > output.json\n");
  143        return 1;
  144    }
  145 
  146    
  147    char readBuffer[65536];
  149 
  150    
  152 
  153    
  157    if (!pr) {
  159        return 1;
  160    }
  161 
  162    
  163    char writeBuffer[65536];
  166 
  167    
  168    document.Accept(writer);
  169    return 0;
  170}
File byte stream for input using fread().
 
Wrapper of C file stream for output using fwrite().
 
GenericDocument & Populate(Generator &g)
Populate this document by a generator which produces SAX events.
 
RAPIDJSON_NAMESPACE_BEGIN const RAPIDJSON_ERROR_CHARTYPE * GetParseError_En(ParseErrorCode parseErrorCode)
Maps error code of parsing into error message.
 
RAPIDJSON_NAMESPACE_BEGIN typedef unsigned SizeType
Size type (for string lengths, array sizes, etc.)
 
Result of parsing (wraps ParseErrorCode)
 
ParseErrorCode Code() const
Get the error code.
 
size_t Offset() const
Get the error offset, if IsError(), 0 otherwise.