JSON and Nullable elements: Difference between revisions

Adding a note that you have to turn off the strict checking if all JSON elements are present once you start removing elements.
(Adding a note that you have to turn off the strict checking if all JSON elements are present once you start removing elements.)
Line 11: Line 11:
<source lang="dataflex">
<source lang="dataflex">
   Send RemoveMember of hoJSON "myElement"
   Send RemoveMember of hoJSON "myElement"
</source>
Please note that when you use JsonToDataType to go from JSON to a struct that you now have to turn off the strict checking if all members are available with
<source lang="dataflex">
  Set pbRequireAllMembers of hoJSON to False
</source>
</source>