Closed Eahlstan closed 2 years ago
The better way to deal with this is for this is to use double? on all properties which may or may not be there, and use DoubleNull() to read them.
If they are not there, you get a null, if they are, you get the value
Fieldbuilder does not print fields which are null, so you can just list all the properties knowing if its null it won't appear!
Your "do a date check" was a trap 😝
Not a trap, a misunderstanding of what you meant!
The better way to deal with this is for this is to use double? on all properties which may or may not be there, and use DoubleNull() to read them.
If they are not there, you get a null, if they are, you get the value
Fieldbuilder does not print fields which are null, so you can just list all the properties knowing if its null it won't appear!