Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 537 Bytes

File metadata and controls

30 lines (17 loc) · 537 Bytes

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.