code.cloudfoundry.org/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:
proxy.golang.org
v1.1.4
over 3 years ago
8
32
27
Links
| Registry | proxy.golang.org |
| Homepage | Homepage |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/code.cloudfoundry.org/jsonry
spec |
| License | Apache-2.0 |
| Namespace | code.cloudfoundry.org |
| First Release | almost 6 years ago |
| Last Synced | 13 days ago |
Repository
| Stars | 5 on GitHub |
| Forks | 3 on GitHub |
| Docker Dependents | 33 |
| Docker Downloads | 59,491,976 |
| Commits | 117 |
| Committers | 6 |
| Avg per Author | 19.5 |
| DDS | 0.581 |