How to deserializeJsonToObject that includes a JSON array element?
0
How to deserializeJsonToObject that includes a JSON array element? Goal is to deserialize JSON containing data followed by an array of more data, presumably to an object, o1, and its associated list of another object, o2. I have succeeded at using deserializeJsonToObject to o1, but when I try to retrieve a List of o2 from o1 by Association I get a size 0 List when I expected at least size 1 or more. What am I missing? Below I lay out the components from the two non-persistent entities in the Domain Model, followed by the relevant microflow section, followed by the properties of each microflow element, one of which includes the actual JSON that needs to get mapped to the non-persistent entities. Debugger variables after end of microflow section are shown at bottom. How to get above reextractionDetailsList to be populated to a size greater than 0 ?? Thank you.
asked
Richard Lavallee
1 answers
0
The name of the association should exactly match the label of the array, so “reexctractionDetails”.