iancoleman / orderedmap

orderedmap is a golang map where the keys keep the order that they're added. It can be de/serialized from/to JSON. It's based closely on the python collections.OrderedDict.
MIT License
356 stars 55 forks source link

Enable custom type deserialization #40

Open mabels opened 10 months ago

mabels commented 10 months ago
      Added the functionality to deserialize orderedmaps
            into CustomTypes like `JSDict`.
            I added these method to my previous added
            OrderedMap interface:
            - SetKeys(keys []string)
            - InitValues()
            - Clone(v ...map[string]interface{}) OrderedMap

Thx for you awsome foundation.

meno