Skip to content

Latest commit

 

History

History

orderedmap

orderedmap

forked from iancoleman/orderedmap v0.3.0

A golang data type equivalent to python's collections.OrderedDict

Retains order of keys in maps

Can be JSON serialized / deserialized

Usage

example

Caveats

  • OrderedMap only takes strings for the key, as per the JSON spec.

Tests

go test

Alternatives

None of the alternatives offer JSON serialization.