Skip to content

Parameter serializer support

Created by: vovythevov

@fedorov, @jcfr, @thewtex: This is the pull request to add ParameterSerializer and the JsonCpp support. This PR also adds a test to make sure we can properly serialize/deserialize a CLI with Slicer.

Now, someone can serialize their CLI by doing:

Slicer.exe --launch /path/to/CLI/MyCLI.exe arg1 arg2 ... --serialize /path/to/json/MyCLISerialized.json

and re-run that CLI with the same arguments using only the JSON file:

Slicer.exe --launch /path/to/CLI/MyCLI.exe --deserialize /path/to/json/MyCLISerialized.json

Merge request reports