proxy.golang.org : github.com/cloudfoundry/jsonry
Package jsonry exists to make is easier to marshal and unmarshal nested JSON into Go structures. For example: Can be marshaled and unmarshaled using the Go struct: There is no need to create intermediate structures as would be required with the standard Go JSON parser. JSONry uses the standard Go parser under the covers. JSONry is a trade-off that delivers usability in exchange for performance. JSONry uses struct tags to specify locations in the JSON document. When there is neither a "jsonry" or "json" struct tag, the JSON object key name will be the same as the struct field name. For example: When there is a "json" struct tag, it will be interpreted in the same way as the standard Go JSON parser would interpret it. For example: When there is a "jsonry" struct tag, in addition to working like the "json" tag, it may also contain "." (period) to denote a nesting hierarchy. For example:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/cloudfoundry/jsonry
License: Apache-2.0
Latest release: almost 3 years ago
First release: about 5 years ago
Namespace: github.com/cloudfoundry
Stars: 6 on GitHub
Forks: 3 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago