Hi,
I am creating a little python web app, running Rhino compute. I have the app receiving a json representation of geometry (hbjson - https://github.com/ladybug-tools/honeybee-schemalink).
I then want to send the json to a grasshopper file and run it with the Evaluate Definition function in compute.
The problem i am having is the ‘Get String’ component in my gh file is receiving a json string with double back slashes. I cant find a way to use this json in the gh file. I’ve tried processing the received string with C# or GHPython components to remove the black slashes. My original understanding was that these backslashes are just escape characters, and the string is a string literal. However, now i’m confused as nothing seems to accept the string as a JSON.
Example string;
'"[{\\"display_name\\": \\"1\\", \\"identifier\\":
\\"1\\", \\"tolerance\\": 0.01, \\"angle_tolerance\\": 1.0, \\"rooms\\": [{\\"display_name\\": \\"Room_101\\", \\"identifier\\": \\"Room_101_25cfbebb\\", \\"faces\\":
[{\\"display_name\\": \\"Room_101_25cfbebb..Face0\\", \\"identifier\\": \\"Room_101_25cfbebb..Face0\\"............