proxy.golang.org : github.com/hawry/stripper
Package stripper provides functions to remove values from specified struct fields, e.g. to reduce the risk of sending protected attributes in a JSON-response in an API. Use this package if you wish to still be able to easily perform an unmarshalling of a JSON-string to a struct, but still wanting to be able to prevent sensitive data to be Marshalled by mistake. Examples of struct field tags and their meanings: All other values than 'true' will make the cleaner ignore that field
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/hawry/stripper
Keywords:
golang
, golang-package
, json-serialization
License: MIT
Latest release: over 7 years ago
First release: over 7 years ago
Namespace: github.com/hawry
Stars: 3 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago