Skip to content

kazamori/orderedmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5aff407 · Jan 23, 2025

History

23 Commits
Jan 23, 2025
Mar 25, 2024
Mar 25, 2024
Mar 22, 2024
Mar 22, 2024
Jan 23, 2025
Mar 25, 2024
Jan 23, 2025
Mar 22, 2024
Jan 23, 2025
Jan 23, 2025
Mar 25, 2024

Repository files navigation

orderedmap

Coverage

An alternative generic ordered map in Go with de/serializing from/to JSON.

How to use

See the example code.

test CLI

For testing, deserialize JSON and then serialize it while preserving the order.

$ ./bin/cli -data '{"s":"test","i":3,"a":[{"f":3.14},{"b":true}]}'
{
  "s": "test",
  "i": 3,
  "a": [
    {
      "f": 3.14
    },
    {
      "b": true
    }
  ]
}

About

An alternative generic ordered map in Go with de/serializing from/to JSON.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published