As always, thank you for your help.
How do I convert a json type message to a string?
For example, if you try to convert the following json message to a string:
{"type":"A","pose":{"x":0,"y":0,"theta":0}}
string str = "{"type":"A","pose":{"x":0,"y":0,"theta":0}}";
The following error occurs:
Flexscript Error VIEW:/active/MainPanel/BackPanel/SplitterXPane/SplitterYPane/SplitterXPane~2/ToolTabPane/TabControl/ScriptConsole/Script>script Line 1 syntax error
Could not finish parsing because of previous errors.
What's the problem?