chrish42 commented on pull request #7110: URL: https://github.com/apache/arrow/pull/7110#issuecomment-640771658
@emkornfield I had checked earlier, and those generated files didn't have the actual Flatbuffers schema for the `Schema` class in them, which is what is needed to generate a `flatbuffers::Parser` instance. But I had another look, and I found some support to serialize a binary version of that definition with `flatc` which can then be loaded in a `Parser` class instance. I assume that's also faster than parsing the .fbs text file, so better all around. Next step is the error handling. And then the opposite direction, with `FromJson()`. (I put that as a static class method instead of a constructor to be able to report errors more easily. Let me know if you feel that's not the right call.) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org