miloyip / nativejson-benchmark

C/C++ JSON parser/generator benchmark
MIT License
1.98k stars 261 forks source link

Add ThorsSerializer #106

Closed Loki-Astari closed 6 years ago

Loki-Astari commented 6 years ago

Uses C++14

Uses a declarative style to build mappings between json and C++ objects. See: https://github.com/Loki-Astari/ThorsSerializer/blob/master/doc/example1.md

Two other Additions:

Added the "--parser=" flag. This allows you to run only one JsonParser. This is very useful when debugging a single parser.

Modified SetUp() and TearDown() Original functionality remain intact. But added version that passes a name of test to SetUp() TearDown() so that you can take specific test initialization. If you don't override these methods the default action is to call the original unnamed versions thus no changes to other libraries required.

Loki-Astari commented 6 years ago

I'll fix travis locally and re-submit.