{"id":22870220,"url":"https://github.com/berquerant/jsonast","last_synced_at":"2025-05-07T15:24:26.222Z","repository":{"id":248183418,"uuid":"828000820","full_name":"berquerant/jsonast","owner":"berquerant","description":"build json AST","archived":false,"fork":false,"pushed_at":"2025-03-24T12:38:12.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T11:30:38.688Z","etag":null,"topics":["go","json"],"latest_commit_sha":null,"homepage":"","language":"Go","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/berquerant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-12T21:18:55.000Z","updated_at":"2025-03-24T12:38:11.000Z","dependencies_parsed_at":"2024-07-12T23:17:03.603Z","dependency_job_id":"0d997970-e700-4994-9379-cef43f5acaea","html_url":"https://github.com/berquerant/jsonast","commit_stats":null,"previous_names":["berquerant/jsonast"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fjsonast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fjsonast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fjsonast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fjsonast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berquerant","download_url":"https://codeload.github.com/berquerant/jsonast/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252903673,"owners_count":21822486,"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":["go","json"],"created_at":"2024-12-13T13:14:10.622Z","updated_at":"2025-05-07T15:24:26.195Z","avatar_url":"https://github.com/berquerant.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsonast\n\n```\n❯ jsonast --help\njsonast - build json AST\n\nUsage:\n\n  jsonast [flags] [FILE]\n\nThis command converts json to AST but does not convert the value type of the node.\nNode values ​​are always strings.\n\nFlags:\n```\n\n# Examples\n\n``` shell\ncat - \u003c\u003cEOS | jsonast | jq\n{\n  \"hello\": \"world!\"\n}\nEOS\n{\n  \"path\": \".\",\n  \"pos\": {\n    \"line\": 1,\n    \"column\": 1,\n    \"offset\": 0\n  },\n  \"object\": {\n    \"path\": \".\",\n    \"pos\": {\n      \"line\": 1,\n      \"column\": 1,\n      \"offset\": 0\n    },\n    \"pairs\": [\n      {\n        \"path\": \".[\\\"hello\\\"]\",\n        \"pos\": {\n          \"line\": 2,\n          \"column\": 3,\n          \"offset\": 4\n        },\n        \"key\": \"hello\",\n        \"value\": {\n          \"path\": \".[\\\"hello\\\"]\",\n          \"pos\": {\n            \"line\": 2,\n            \"column\": 12,\n            \"offset\": 13\n          },\n          \"string\": \"world!\"\n        }\n      }\n    ]\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Fjsonast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberquerant%2Fjsonast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Fjsonast/lists"}