{"id":21406369,"url":"https://github.com/chandler767/json-path-flattener","last_synced_at":"2026-05-17T13:32:15.314Z","repository":{"id":123048675,"uuid":"117883771","full_name":"chandler767/JSON-Path-Flattener","owner":"chandler767","description":"JSON path flattening using Golang","archived":false,"fork":false,"pushed_at":"2018-01-18T20:48:31.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T04:11:07.416Z","etag":null,"topics":["flatten","flattened-json","go","golang","json","jsonpath","recursion"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chandler767.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-17T19:37:47.000Z","updated_at":"2021-02-02T03:51:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"63d59503-8928-408f-9947-78a66cc5f037","html_url":"https://github.com/chandler767/JSON-Path-Flattener","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandler767%2FJSON-Path-Flattener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandler767%2FJSON-Path-Flattener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandler767%2FJSON-Path-Flattener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandler767%2FJSON-Path-Flattener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandler767","download_url":"https://codeload.github.com/chandler767/JSON-Path-Flattener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902322,"owners_count":20366262,"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":["flatten","flattened-json","go","golang","json","jsonpath","recursion"],"created_at":"2024-11-22T16:39:25.758Z","updated_at":"2026-05-17T13:32:10.291Z","avatar_url":"https://github.com/chandler767.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON Path Flattening\n\n### How To Use\nYou can pass a filepath, URL, or string to flatten.\n```\ngo run main.go ~/JSON-path-flattening/sample.json\ngo run main.go https://raw.githubusercontent.com/chandler767/JSON-path-flattening/master/sample.json\ngo run main.go \"{\\\"server_ip\\\":\\\"192.168.0.1\\\",\\\"action\\\":\\\"stop\\\"}\"\n```\n\nA JSON path is a string that uniquely identifies a subvalue inside a JSON \nvalue. For example, given the following JSON:\n\n```\n{\n    \"books\": [\n        {\n            \"title\": \"JSON and you\",\n            \"pages\": 234\n        }\n    ]\n}\n```\n\nThe path `.books` points at the array of books, `.books[0]` points at the first\nbook, and `.books[0].title` at the title of the first book.\n\nTakes **any arbitrary JSON** as input and writes as \noutput, line-by-line, the path to every scalar value in the JSON, an equals \nsign, and the value. The output for the example JSON given above would be:\n\n```\n.books[0].title=JSON and you\n.books[0].pages=234\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandler767%2Fjson-path-flattener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandler767%2Fjson-path-flattener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandler767%2Fjson-path-flattener/lists"}