As a user I want to write my configuration files in JSON, but read them at runtime as flex buffer with 0 parsing overhead.
In order to achieve this goal, I implemented a function in FlexBuffersSwift which transforms JSON into FlexBuffers binary format.
Users can now write small build scripts which convert JSON to FlexBuffers and use FlexBuffers at runtime.
In order to achieve it in an efficient way I implemented a JSON parser which uses FlexBuffers directly as a model for parsed text.
I think it is a great addition and can be adopted by main project specifically as FlatBuffers already has a JSON parser implemented.
I am also considering to write a CSV to FlexBuffers converter where the data can be stored as vector of vectors, vector of maps or map of vectors.
In game development (specially simulation games) it is often the case that economy configs are defined in spread sheets which can be easily exported as CSV.
Being able to read large CSV files with random access and 0 parsing overhead, is a great benefit.