documentclass | title | author |
---|---|---|
physycomen |
json_packer |
Fabbri, Sinigardi |
This tool has been written in order to merge multiple .json files, in particular giving priority to our GNSS data format, keeping an ordered sequence of objects in the file.
CMake, boost and a C++11 compatible compiler are required. To build the executable, clone the repo and then type
mkdir build ; cd build ; cmake .. ; cmake --build . --target install
With CMake you can also deploy projects for the most common IDEs.
Contains jsoncons and nlohmannjson as git submodules.
packer_nlohmannjson.exe -o packed_name.json file1.json file2.json ...
packer_jsoncons.exe -o packed_name.json file1.json file2.json ...
In the former case you will use nlohmann's json library to parse input file and prepare output file, while in the latter jsoncons will be used.
More details about file formats is available here.