An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.4% on proxy.golang.org
Top 0.2% dependent packages on proxy.golang.org
Top 0.3% dependent repos on proxy.golang.org
Top 6.5% forks on proxy.golang.org
Top 0.6% docker downloads on proxy.golang.org

proxy.golang.org : olympos.io/encoding/edn

Package edn implements encoding and decoding of EDN values as defined in https://github.com/edn-format/edn. For a full introduction on how to use go-edn, see https://github.com/go-edn/edn/blob/v1/docs/introduction.md. Fully self-contained examples of go-edn can be found at https://github.com/go-edn/edn/tree/v1/examples. Note that the small examples in this package is not checking errors as persively as you should do when you use this package. This is done because I'd like the examples to be easily readable and understandable. The bigger examples provide proper error handling. EDN, in contrast to JSON, supports arbitrary values as keys. This example shows how one can implement enums and sets, and how to support multiple different forms for a specific value type. The set implemented here supports the notation `:all` for all values. This example shows how to read and write basic EDN tags, and how this can be utilised: In contrast to encoding/json, you can read in data where you only know that the input satisfies some sort of interface, provided the value is tagged. This example shows how one can do streaming with the decoder, and how to properly know when the stream has no elements left.

Registry - Source - Documentation - JSON
purl: pkg:golang/olympos.io/encoding/edn
Keywords: edn , encoding , golang
License: BSD-3-Clause
Latest release: almost 5 years ago
First release: over 5 years ago
Namespace: olympos.io/encoding
Dependent packages: 271
Dependent repositories: 538
Stars: 94 on GitHub
Forks: 10 on GitHub
Docker dependents: 98
Docker downloads: 1,131,302
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago

    Loading...
    Readme
    Loading...