Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper way to deserialize json data with Rhino.Python #5

Open
ZapAnton opened this issue Aug 13, 2020 · 0 comments
Open

Proper way to deserialize json data with Rhino.Python #5

ZapAnton opened this issue Aug 13, 2020 · 0 comments

Comments

@ZapAnton
Copy link

Hi.
Recently, when developing Rhino commands, using Rhino.Python (https://developer.rhino3d.com/api/RhinoScriptSyntax), I was presented with the task of processing JSON data, that was generated with the help of this plugin.
The curve objects were serialized into something that looks like base64 string.
It is parsable by the base64.b64decode method, but I could not find a way to properly construct curve object from the parsed data.
Perhaps there is a way to construct a proper object using Rhino.Common or one of the coerse methods?
Thanks

@ZapAnton ZapAnton changed the title Proper way to deserialize json data Proper way to deserialize json data with Rhino.Python Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant