▲ | flohofwoe 14 hours ago | |||||||||||||||||||||||||
I mean, what else is there to do when iterating over a JSON file? Delegating number parsing and UNICODE handling to the user can be considered a feature (since I can decide on my own how expensive/robust I want this to be). | ||||||||||||||||||||||||||
▲ | skydhash 14 hours ago | parent | next [-] | |||||||||||||||||||||||||
That is what I like Common Lisp libraries. They are mostly about the algorithms, leaving data structures up to the user. So you make sure you got those rights before calling the function. | ||||||||||||||||||||||||||
▲ | IshKebab 12 hours ago | parent | prev [-] | |||||||||||||||||||||||||
Extracting the data into objects. Libraries like Serde and Pydantic do this for you. Hell the original eval() JSON loading method did that too. | ||||||||||||||||||||||||||
|