JSON and Nullable elements: Difference between revisions

no edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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>


Line 330: Line 335:
* [https://support.dataaccess.com/Forums/showthread.php?62358-Use-of-HasMember-of-cJSON-class-when-used-with-arrays&p=331630#post331630 RemoveNulls function by Mike Peat]
* [https://support.dataaccess.com/Forums/showthread.php?62358-Use-of-HasMember-of-cJSON-class-when-used-with-arrays&p=331630#post331630 RemoveNulls function by Mike Peat]


[[Category:REST]]
[[Category:JSON]]
[[Category:JSON]]