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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/jimsmart/ejson

Package ejson implements encoding and decoding of Meteor's EJSON (Extended JSON). The mapping between EJSON and Go values is identical to package encoding/json (which this package is based upon), but with built-in EJSON encoding and decoding for []byte and time.Time. The mapping between JSON and Go values is described in the documentation for the Marshal and Unmarshal functions. All EJSON serializations are also valid JSON. For example, an object with a date (time.Time) and some binary data ([]byte) would be serialized in EJSON as: Where $date is Unix time in milliseconds, and $binary is base64 encoded data. This package should be used as a drop-in replacement for package encoding/json whenever EJSON encoding is required. Package ejson is derived from a subtree-branch of Go's encoding/json package, currently tracking Go 1.7.4.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/jimsmart/ejson
License: BSD-3-Clause
Latest release: about 4 years ago
First release: about 4 years ago
Namespace: github.com/jimsmart
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 26 days ago

    Loading...
    Readme
    Loading...