News for hackers. Stuff that matters.
Re:Ask HN: What are some of the most elegant codebases in yo... by knightcrusader on Saturday June 17, 2023 @06:33PM (#36375383)
The only thing about the JSON package though, when things go wrong, it is very unhelpful about where it goes wrong.

I usually end up always wrapping the json_decode in an eval to catch the error and handle it in an easier to understand fashion.

But I agree though, its nice how json and perl data objects pretty much map to each other. It's great.

There are no comments on this comment yet.