Items tagged with json

My problem is: I`d like to parse a value from JSON string and use it as code in Maple.
Ex. This is my value from JSON string: "restart:\na:=5:\nb:=3:\nP:=28*10^(-3):"

and that`s all, I`ve tryed to use JSON.Parse - it says me it`s not JSON. Sscanf - nothing.

Can anyone help me please?

Dear all,

I am looking at the help page for reading json files, but it is too advanced for me to understand...

Can anyone give an easy example where a json file is read into a variable and printing the data structure?


Louise =)


Page 1 of 1