Skip to content

dorianmariecom/dorian-anonymize-json

Repository files navigation

dorian-anonymize-json

Anonymize JSON values while preserving the JSON shape.

Install

gem install dorian-anonymize-json

Also included in the aggregate gem:

gem install dorian

Usage

anonymize-json [json ...] [file ...]

Run anonymize-json -h for generated option details and anonymize-json -v for the installed version.

Notes

  • Strings keep their letter/digit pattern, numbers become zeroes, booleans become false, and arrays/hashes keep their structure.

Examples

Anonymize inline JSON

anonymize-json '{"name":"Secret123","active":true}'

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors