1
On the JsonObject we now have the functions GetInteger, GetText and GetBoolean.
These functions have the possibility to set the parameter "use default value", which is great.
But if the value is null, it errors.
Two possible solutions:
- Add a check in the Get functions for whether the value is null, and return the default.
- Add a new function
IsPropertyNullthat you pass the property name (key) into, and that returns a boolean indicating whether it is null.
Then it is possible to check if the value is null before trying to convert it.
The first solution is preferable.
STATUS DETAILS
New
