Hacker News new | past | comments | ask | show | jobs | submit login

Ugh, please name and shame the [de]serializer that was silently converting a string to a boolean.



Not sure about JSON, but YAML has the Norway problem: https://hitchdev.com/strictyaml/why/implicit-typing-removed/


JSON does not, because JSON is explicitly typed:

   - "... - string
   - 14, 14.5 - number (problematic)
   - false, true - bool
   - {... - object
   - [... - array
   - null
No cute abbreviations.


The problem we ran into is that they can all be configured to do whatever. There's no consistently or standard


well, there's the JSON standard, which does not define "false" and false as equivalent.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: