Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TylerE
on Aug 17, 2019
|
parent
|
context
|
favorite
| on:
Parsing JSON Is a Minefield (2018)
Plus, if you really want it Python has tons of hooks to make json.load return whatever sort of struct you want.
ben509
on Aug 18, 2019
[–]
Or you can let json.load do its thing and use a nice module like json-syntax[1] to convert it to well typed values and back. (Yup, plugging my library.)
[1]:
https://pypi.org/project/json-syntax/
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: