Re:Ask HN: Do you use JSON Schema? Help us shape its future ...
by throwawaymaths on Tuesday January 31, 2023 @03:11PM
(#34601196)
It does. Just string encode it.
[ Parent
| on HN ]
Re:Ask HN: Do you use JSON Schema? Help us shape its future ...
by jjgreen on Tuesday January 31, 2023 @04:46PM
(#34602707)
1 == "1"; // true
1n == "1"; // true
1n == "1n"; // false
Re:Ask HN: Do you use JSON Schema? Help us shape its future ...
by throwawaymaths on Tuesday January 31, 2023 @11:02PM
(#34606190)
You have to describe what your encoding is in the "format" field of your JSONschema and implement the correct semantic meaning.