{"id":17617530,"url":"https://github.com/ravenox/go-jsoncommentstrip","last_synced_at":"2025-04-13T22:08:07.341Z","repository":{"id":57495178,"uuid":"69691310","full_name":"RaveNoX/go-jsoncommentstrip","owner":"RaveNoX","description":"Library for strip JSON comments","archived":false,"fork":false,"pushed_at":"2019-03-30T16:34:04.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T22:08:01.575Z","etag":null,"topics":["comments","golang","json","strip","strip-json-comments"],"latest_commit_sha":null,"homepage":null,"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/RaveNoX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-30T18:25:10.000Z","updated_at":"2024-03-17T16:35:29.000Z","dependencies_parsed_at":"2022-08-31T12:51:34.121Z","dependency_job_id":null,"html_url":"https://github.com/RaveNoX/go-jsoncommentstrip","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/RaveNoX%2Fgo-jsoncommentstrip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaveNoX%2Fgo-jsoncommentstrip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaveNoX%2Fgo-jsoncommentstrip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaveNoX%2Fgo-jsoncommentstrip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaveNoX","download_url":"https://codeload.github.com/RaveNoX/go-jsoncommentstrip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248788924,"owners_count":21161727,"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":["comments","golang","json","strip","strip-json-comments"],"created_at":"2024-10-22T19:14:20.365Z","updated_at":"2025-04-13T22:08:07.316Z","avatar_url":"https://github.com/RaveNoX.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-jsoncommentstrip\n[![Build Status](https://travis-ci.org/RaveNoX/go-jsoncommentstrip.svg?branch=master)](https://travis-ci.org/RaveNoX/go-jsoncommentstrip)\n[![GoDoc](https://godoc.org/github.com/RaveNoX/go-jsoncommentstrip?status.svg)](https://godoc.org/github.com/RaveNoX/go-jsoncommentstrip)\n\nGO library for strip JSON comments from input.\n\n## Comment Types\n\n### Single Line\n\n```json\n{  \n  // this is a comment\n  \"not_a_comment\": \"// this is not a comment\"  \n}\n```\n\n\n### Multiple Lines\n\n```json\n[\n  /* multi\n   line\n   \"comment\",\n   */\n   \"value\": \"this is not comment\" /* this is another comment */\n]\n```\n\n## Escaping in JSON\n```json\n{\n    \"test\": \"\\\"valid string // /*\" // escaped string\n}\n```\n\n## Line Endings Support\nLibrary normally working with *NIX `\\n` and Windows `\\r\\n` line endings.\n\n## Commandline Tool\n\n```bash\n$ go get github.com/RaveNoX/go-jsoncommentstrip/cmd/jsoncommentstrip\n$ cat json_with_comments.json | jsoncommentstrip\n```\n\n## License\n[MIT](./LICENSE.MD)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravenox%2Fgo-jsoncommentstrip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravenox%2Fgo-jsoncommentstrip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravenox%2Fgo-jsoncommentstrip/lists"}