Re:Parsing JSON Is a Minefield (2016)
by lifthrasiir on Monday October 11, 2021 @03:27PM
(#28832012)
Ranges are pretty common in APIs and both -Infinity and Infinity can naturally arise from one-sided ranges. Since they are absent in JSON, they are frequently replaced with null, ad-hoc sentinel values with uncoded assumptions (e.g. timestamps should be always positive) and missing fields.
[ Parent
| on HN ]
There are no comments on this comment yet.