Search found 3 matches

by mjhaston
Fri Aug 05, 2022 11:08 pm
Forum: YAJL-ILE
Topic: DATA-INTO vs. YAJL Procedures
Replies: 9
Views: 3335

Re: DATA-INTO vs. YAJL Procedures

Empty objects shouldn't present a problem. It is when the json represents an empty object by assigning it a null value that DATA-INTO has a problem. As to allowmissing you really shouldn't need it. Use countprefix for the DS representing the object (or indeed for any item that can be omitted) and y...
by mjhaston
Fri Aug 05, 2022 5:18 pm
Forum: YAJL-ILE
Topic: Defining array of values for DATA-INTO
Replies: 2
Views: 1466

Re: Defining array of values for DATA-INTO

That's funny, I was just about to reply to you on another similar answer on another board! I tried allowextra=yes, but that didn't seem to work to ignore it.

But your solution here worked. I kind of screwed myself thinking I needed to describe it as a DS!

Thanks once again jonboy.
by mjhaston
Fri Aug 05, 2022 3:32 pm
Forum: YAJL-ILE
Topic: Defining array of values for DATA-INTO
Replies: 2
Views: 1466

Defining array of values for DATA-INTO

Just starting to tinker with DATA-INTO and free form D-Specs. I will say, defining these data structures is much easier in free! How would I define BundleIdList since it's just an array with no named element? "BundleIdList": [1101], { "ErrorCode": 0, "ShipmentResponse":...