Home   Archive   Permalink

JSON issue

Hi Nick!
I get this error:
** User Error: Not a valid JSON string
** Near: make error! "Not a valid JSON string"
when I execute this code:
do http://reb4.me/r/altjson
probe load-json load http://www.rai.tv/dl/RaiTV/programmi/json/liste/ContentSet-68bf458c-e85d-46a1-9561-9456a48f2083-json-V-0.html
I want to parse that JSON file by putting it in a Rebol block. Can you help me please ?

posted by:   Luca       3-May-2013/11:36:16-7:00

It looks like you have an extra "load". Try:
do http://reb4.me/r/altjson.r
probe load-json http://www.rai.tv/dl/RaiTV/programmi/json/liste/ContentSet-68bf458c-e85d-46a1-9561-9456a48f2083-json-V-0.html

posted by:   Nick       5-May-2013/2:16:40-7:00

Thanks Nick! It's working now.

posted by:   Luca       6-May-2013/3:59:20-7:00