Flat/flex-buffers Type Definition (FTD?) #6778
ramblehead
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
yup we have exactly that, the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been playing with flatbuffers for a few months now using it as a generic RPC/IPC format (not only gRPC).
It is a great project - thank for developing it and making it open source!
When implementing RPC in fbs, I almost immediately encountered couple of issues:
As a first attempt I implemented
idl_gen_jtd.cpp
(usingidl_gen_json_schema.cpp
as an example) - most langs support JSON and many JDT out of the box, so it solves both issues above. To validate flexbuffer with jtd - it needs to be converted to JSON first.JDT solution seems a regression as it requires going back to JSON from flatbuffers for introspection and validation. It should be feasible to implement flatbuffers schema that describes flat/flex-buffers schema (similar to JDT). Is there some document or project that defines flatbuffers schema in flatbuffers format?
Beta Was this translation helpful? Give feedback.
All reactions