r/programming • u/f311a • Aug 04 '26
Your JSON Is Lying to You
https://blog.gaborkoos.com/posts/2026-08-03-Your-JSON-Is-Lying-to-You/
0
Upvotes
r/programming • u/f311a • Aug 04 '26
39
u/LessChen Aug 04 '26
The article has an initial title "blaming" JSON and then goes into all the ways that JavaScript is the real problem.
11
u/Ecksters Aug 04 '26 edited Aug 04 '26
Still an interesting article analyzing the edge cases of
JSON.stringify, despite the click-baity title.4
u/DaStone Aug 04 '26
Just like how my Plumber is lying to me when I painted my walls the wrong color.
4
u/Caraes_Naur Aug 04 '26
JSON in JS depends on Javascript's alleged type system, which has been lying to us for 30 years.
3
u/BenchEmbarrassed7316 Aug 04 '26
Let's just admit that the JavaScript programming language has problems with supporting Json (JavaScript Object Notation).