Newtonsoft.Json error

Hello,
Originally, i tried to send some basic geometry from local Rhinoceros to python application, then make brep shape and return to it from python to Rhino. To send data, i used Newtonsft.Json to serialize data.
But on python app, Newtonsoft,Json error happend. It said, Rhino.geometry.point3d can’t be used as arguments of Newtonsoft.Json.JsonConverter. But it worked fine on Local Rhino python environment which is opened from “EditPythonScript”.

Do you have any ideas?

test_rhinoapi.py (2.0 KB)

Hi @Ichiro ,

It would be easier to help you if you also shared your rhino.py script. Also, it looks like you are trying to reproduce functionality that is already in Compute, which lets you interact with a RhinoCommon server through a REST API. Do you know about that tool?

Thank you for your comments. I know Rhino.Compute, it is a little bit different from what i want to do.
I found the same questions as the below URL.

Thank you again!!