FWIW, if you're running the latest version of Web Connection (5.65) it has DeserializeJson() which uses an external JSON parser that's more reliable than the internal fox based one.
+++ Rick ---
From: | Rick Strahl |
To: | Bob Roenigk |
FWIW, if you're running the latest version of Web Connection (5.65) it has DeserializeJson() which uses an external JSON parser that's more reliable than the internal fox based one.
+++ Rick ---
I am getting a parse error with wwJsonSerializer. Here is my code with a reference to the json data in question:
lcHTML = oHTTP.HTTPGet("http://tinyurl.com/ap57olf","","","") loSer = CREATEOBJECT("wwJsonSerializer") loUnder = loSer.Deserialize(lcHTML)
The crash occurs in wwjsonSerializer: Line 48: [ADDPROPERTY(loObject,lcProperty, this.Deserialize(lcValue) )]
lcValue contains the following (including the double quotes which appear to be the problem):
""North Atlantic""
jsonlint.com does show the json data is valid.
~bob