[Smtk-developers] Crazy idea for representing View information
David Thompson
david.thompson at kitware.com
Sat Sep 16 16:05:21 EDT 2017
>> Since we had the discussion about which JSON library we should be using I've been wondering if instead of the current View Data structure in Common, maybe we should just use a JSON data structure instead? Any comments?
>
> +1 ... while it does tie SMTK to using JSON in its user-facing API, it should simplify the view code.
One question is how this translates to the Python bindings. It seems like there are 2 paths:
1. Convert view info to/from a string when crossing the C++/Python boundary.
2. Bind nlohmann_json objects using pybind11.
David
More information about the Smtk-developers
mailing list