- Scores: 0
- Joined: 9/13/2016
Monday, November 07, 2016 10:34 AM
I’m using YAJL programs from Scott Klement's website to read the JSON file. I've attached a copy of the RPG program.
I'm able to read/parse the values for MessageID, MessageType, MessageTime, ApiVersion, but when I get to the Payload item I’m not able to parse any additional information. If I remove Payload from the JSON then I can read/parse the entire file including the Msg & Severity elements in the ResponseMessages array. Do you know what is different about Payload in the JSON format that prevents me from parsing the JSON data? Any help is appreciated.
"Msg": "Message Received and Queued for Processing.",
I’m not very familiar with JSON, but it seems pretty simple and basic, yet I’m struggling with parsing the JSON data that is returned from the load location request. The JSON that I'm trying to parse is copied below.