Add method GenerateTextFromTable issue #5249 (#5266)
authorAnthony Liot <wolfviking0@yahoo.com>
Fri, 5 Apr 2019 18:51:29 +0000 (11:51 -0700)
committerWouter van Oortmerssen <aardappel@gmail.com>
Fri, 5 Apr 2019 18:51:29 +0000 (11:51 -0700)
commit249f3b37149daabbf4954dc8d615e97238b692b9
tree5f2020fb1121dd5a1bf7e159a676b9dfa50c5765
parent2d67de3151a3389ff0ecf1578a61db6f0a9cf028
Add method GenerateTextFromTable issue #5249 (#5266)

* Create a function GenerateGenerateTextFromTable in order to create a json from any Table

Signed-off-by: Anthony Liot <anthony.liot@gmail.com>
* Update the test to failed if loadfile or parser return false

Signed-off-by: Anthony Liot <anthony.liot@gmail.com>
* Fix snake_case name typo + space before &/*

Signed-off-by: Anthony Liot <anthony.liot@gmail.com>
* use auto

Signed-off-by: Anthony Liot <anthony.liot@gmail.com>
* Use clang-format on the added code

Signed-off-by: Anthony Liot <anthony.liot@gmail.com>
include/flatbuffers/idl.h
src/idl_gen_text.cpp
tests/test.cpp