{"id":16808888,"url":"https://github.com/timakin/jf","last_synced_at":"2025-04-11T01:20:53.742Z","repository":{"id":56879055,"uuid":"60418228","full_name":"timakin/jf","owner":"timakin","description":"Dead simple JSON Formatter","archived":false,"fork":false,"pushed_at":"2016-10-21T08:49:48.000Z","size":30,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T22:18:30.125Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timakin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-04T15:58:08.000Z","updated_at":"2020-01-10T15:33:13.000Z","dependencies_parsed_at":"2022-08-20T22:30:57.342Z","dependency_job_id":null,"html_url":"https://github.com/timakin/jf","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fjf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fjf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fjf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fjf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timakin","download_url":"https://codeload.github.com/timakin/jf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247908734,"owners_count":21016473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T10:00:16.926Z","updated_at":"2025-04-11T01:20:53.723Z","avatar_url":"https://github.com/timakin.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"JF\n=====\n\nDead simple JSON Formatter\n\n## Example\n\n```\n$ jf raw.json [--gitdiff|--minify|-i] # Attach format to a json file.\n$ jf .                                # Attach format to all of json files under the current directory.\n$ cat raw.json | jf                   # Output pretty json for the received STDIN.\n\u003e (print pretty json)\n\n# Merge options\n$ jf origin.json --merge target.json                        # Push the object of inside of target.json back to the origin.json.\n$ jf origin.json --merge target.json --key key1             # Push the object of inside of target.json to \"key1\" object of origin.json.\n$ jf origin.json --merge target.json --key key1.innerkey1.0 # Push the object of inside of target.json to \"origin[:key1][:innerkey1][:deep][0]\".\n```\n\n## Options\n\n- --git-diff\n - Run the command to only git-historically created|modified json file\n- --minify\n - Compact multi lined json to one line\n- -i {number}\n - Set the number of indents before the begining of each lines\n- --merge {target.json} --key {keys}\n - Merge another json object to the specified json.\n - It supports deep inside object merge with '--key' option. You can set the option with dot-connected keys.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/timakin/jf. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Fjf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimakin%2Fjf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Fjf/lists"}