575 B
575 B
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