GavinPHR/pytreemap

Interoperability between dict and TreeMap

rafaelsilverioit opened this issue · 2 comments

It would be nice if we had a method to convert the TreeMap to a dict and vice versa or a default json serializer/deserializer. Right now I'm trying to figure out how I'm going to do it for my simple use case.

I guess you can just iterate through the TreeMap and insert each key-value pair into a dictionary, and vice versa?

What a fool I am! Never thought about that. Thank you. haha