JSON text output now optionally doesn't output linefeeds either.

Change-Id: Iedac80ee00b27a97c21c7b4ac7c9792e5bafbcc8
Tested: On Windows
This commit is contained in:
Wouter van Oortmerssen
2014-06-23 14:14:31 -07:00
parent ff0d7a89d8
commit 76227f201d
2 changed files with 23 additions and 7 deletions

View File

@@ -292,6 +292,8 @@ class Parser {
// Generate text (JSON) from a given FlatBuffer, and a given Parser
// object that has been populated with the corresponding schema.
// If ident_step is 0, no indentation will be generated. Additionally,
// if it is less than 0, no linefeeds will be generated either.
// See idl_gen_text.cpp.
extern void GenerateText(const Parser &parser,
const void *flatbuffer,