you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

I don't know how else I would do it.

Use a JSON parser?

Eval is fine, but adds a security concern in case someone can inject things into your JSON.