Trying to understand how to Serialize and Deserialize JSON in a mobile app I constructed a simple method as illustrated in the attached document.
1. Get a list of LocalEntity (works)
2. Serialize the List (works- JSON is as per comment)
3. Deserialize the output from the Serailize ( gets two rows in the list but no values in the fields?)
Shouldn't this work?
What am I doing incorrectly?
Keith, I think I know what's the problem.
In 1) you are passing a "Record List" to the Serialize widget.
And then you are saying in Deserialize that the data type is a "List".
Try changing to "Record List" of LocalMeasureName.
You say that the Data Type is a List of Record of Measure...
It should do the trick!
João Heleno wrote:
João
That worked. Thanks for clearing that up that was a little tricky!
Regards
Keith
Hi Keith,
Can't see your document... can you check your post please?
Thanks
Sorry now attached.
Oh boy, tried to do a spike with your case and I'm also suffering from the same problem :D
Now I'll have trouble sleeping if I don't find why...