Search found 3 matches
- Thu Mar 17, 2022 2:46 pm
- Forum: YAJL-ILE
- Topic: Error loading JSON nodes
- Replies: 3
- Views: 7583
Re: Error loading JSON nodes
Yep, that was it, PROBLEM SOLVED. Loops within loops need to use unique variables as the 3rd parameter of YAJL_ARRAY_LOOP. Obvious now that I see it.
- Thu Mar 17, 2022 2:12 pm
- Forum: YAJL-ILE
- Topic: Error loading JSON nodes
- Replies: 3
- Views: 7583
Re: Error loading JSON nodes
Additional info: this morning as an experiment I rearranged the steps within loop YAJL_ARRAY_LOOP( results: ResultsLoop: node ). I moved systemResult = YAJL_object_find(node: 'systemResult') to be the first step: systemResult loaded and parsed correctly, including its sub-nodes. However, the next ...
- Wed Mar 16, 2022 5:35 pm
- Forum: YAJL-ILE
- Topic: Error loading JSON nodes
- Replies: 3
- Views: 7583
Error loading JSON nodes
PROBLEM is at the end of this post.
JSON response from web service is in variable WsOut (length 1048576a, varying):
{
"messages": [
{
"messageType": "MESSAGE_TYPE_INFO",
"messageCode": "0",
"messageText": "Service Completed Successfully"
}
],
"source": "CARFAX",
"transactionId ...
JSON response from web service is in variable WsOut (length 1048576a, varying):
{
"messages": [
{
"messageType": "MESSAGE_TYPE_INFO",
"messageCode": "0",
"messageText": "Service Completed Successfully"
}
],
"source": "CARFAX",
"transactionId ...