17 lines
562 B
Markdown
17 lines
562 B
Markdown
Json2Bin Converter
|
|
==================
|
|
|
|
The library json by nlomann is used to read json files in this program [GitHub](https://github.com/nlohmann/json)
|
|
|
|
You can reuse and modify it by anyway, just give credits and i'll be happy !
|
|
|
|
Manual
|
|
======
|
|
|
|
Put your struct and load 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 :
|
|
|
|
```sh
|
|
json2bin_converter test.json test.bin
|
|
``` |