ExtractJSONStructure() - new flag #PB_JSON_NoClear:

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

ExtractJSONStructure() - new flag #PB_JSON_NoClear:

Post by GPI »

at the moment ExtractJSONStructure() delete the structure before filling it with the information out of the JSON. It would be nice to prevent this. For Example when you want to set "Default-Values", when a "Structure-member" is not set in the JSON