Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

DeserializeJSON: Incorrect property name in ParseObjectJson()

$
0
0
DeserializeJSON: Incorrect property name in ParseObjectJson()
Web Connection 5.0
DeserializeJSON: Incorrect property name in ParseObjectJson()
Jun. 3, 2013
12:23 pm
3ST0QK589Show this entire thread in new window
Gratar Image based on email address
From:Bob Roenigk
To:All
Rick,

The following code is failing on line 4 below. This is attempting to read and parse a json from a third party vendor.

oHTTP = CREATEOBJECT("wwHttp") lcHTML = oHTTP.HTTPGet("http://api.wunderground.com/api/bab473119437f545/currenthurricane/view.json","","","") loSer = CREATEOBJECT("wwJsonSerializer") loWunder = loSer.DeserializeJSON(lcHTML)

"Incorrect property name" is returned in your ParseObjectJson() function.

Using version WC v5.66 and .NET 4.5 on Win7. jsonLint.com says the json being returned in valid.

Stumped at this point.


~bob


Viewing all articles
Browse latest Browse all 10393