Yelnats
Yelnats
CC#
Created by Yelnats on 1/29/2024 in #help
How can I convert null entries in JSON data to a default value?
oh perfect, thanks
21 replies
CC#
Created by Yelnats on 1/29/2024 in #help
How can I convert null entries in JSON data to a default value?
but there isn't a way to do it through like annotations or serealizer options?
21 replies
CC#
Created by Yelnats on 1/29/2024 in #help
How can I convert null entries in JSON data to a default value?
the data comes from a 3rd party source and the defaults I want to set are good enough the rest of the logic
21 replies
CC#
Created by Yelnats on 1/29/2024 in #help
How can I convert null entries in JSON data to a default value?
I want to edit the data
21 replies
CC#
Created by Yelnats on 1/29/2024 in #help
How can I convert null entries in JSON data to a default value?
right, but I would rather not infect the type of the data to be nullable. I'd rather the type be int instead of int? and have to check for null everytime I use it
21 replies