Convert any json file into a small and optimised bin file.
Go to file
Ulysse Cura 6e165e2512 Added exemple for object lists 2025-08-07 19:34:02 +02:00
.vscode Added exemple for object lists 2025-08-07 19:34:02 +02:00
src Added exemple for object lists 2025-08-07 19:34:02 +02:00
.gitignore Functionnal json 2 bin example 2025-08-06 10:26:20 +02:00
Makefile Added exemple for object lists 2025-08-07 19:34:02 +02:00
README.md Added exemple for object lists 2025-08-07 19:34:02 +02:00
test.bin Added exemple for object lists 2025-08-07 19:34:02 +02:00
test.json Added exemple for object lists 2025-08-07 19:34:02 +02:00

README.md

Json2Bin Converter

The library json by nlomann is used to read json files in this program GitHub

You can reuse and modify it by anyway, just give credits and i'll be happy !

Manual

Put your struct, load, write and free function into bin.cpp and bin.hpp and compile it with "make", you can then use the ouputed binary "json2bin_converter" with the json input file and the binary output file which will be (re)created when the command is executed.

Exemple :

    json2bin_converter test.json test.bin