[Smtk-developers] Crazy idea for representing View information

Ben Boeckel ben.boeckel at kitware.com
Mon Sep 18 07:51:05 EDT 2017


On Sat, Sep 16, 2017 at 16:05:21 -0400, David Thompson wrote:
> > +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.

Neither. Just convert them to dictionaries.

--Ben


More information about the Smtk-developers mailing list