now build for your platform as usual. This should result in a flatc executable Now create your schema file with extension .fbs. Guide to write a schema can be found here.And also have your sample json ...
GitHub

README.md

FlatBuffers format has been shown to give better results than JSON parsing. For more details about it read this article. For a more detailed introduction on how to use FlatBuffers you can have a look ...
FlatBuffers为Google发布的一个跨平台,提供多种语言接口,注重性能和资源使用的序列化类库。目前该类库提供C++, C#, C, Go, Java, JavaScript, PHP, and Python语言接口。该序列化类库多用于移动端手游数据 ...
在做一个参数外置的web工程,因为参数多达上千个,所以必须用一种较好的方式管理起来。最开始用xml或json也是可以满足,但是一旦有参数更新对齐就会变得比较麻烦。所以采用flatbuffer来校验 ...