OMDb-API
OMDb-API copied to clipboard
Why not use null instead of N/A?
trafficstars
Often when a field is missing data, it returns a string "N/A" instead of null. Isn't it better to use null when data is missing? If a field is always an integer (like metacritic score), I can't deserialize the field to an integer in my project, because the field might be a string ("N/A").
Is there a reason for the use of "N/A" as a string everywhere instead of null?
This is being addressed in the new JSON response.