Demonstrates generation of bindings for a C library called cJson and then using these bindings to parse some json.
From the root of this repository -
cd third_party/cjson_library cmake . make
At the root of this example (
example/c_json), run -
pub run ffigen
This will generate bindings in a file: cjson_generated_bindings.dart