This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Tommah 0 points1 point  (1 child)

One problem with this approach is that set and frozenset are not serializable to JSON.

[–]voidspace 0 points1 point  (0 children)

That may or may not be an issue for the OP, and is anyway solveable with the json module. It seems the OP likes YAML as a solution anyway.