{"id":19749293,"url":"https://github.com/sipt/gojsoner","last_synced_at":"2025-04-30T09:30:51.126Z","repository":{"id":57486301,"uuid":"88049670","full_name":"sipt/GoJsoner","owner":"sipt","description":"Loading JSON file in Golang and discarding comments.","archived":false,"fork":false,"pushed_at":"2017-04-13T02:01:23.000Z","size":9,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T00:11:53.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sipt.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}},"created_at":"2017-04-12T12:33:23.000Z","updated_at":"2024-03-23T03:51:49.000Z","dependencies_parsed_at":"2022-09-01T22:31:11.298Z","dependency_job_id":null,"html_url":"https://github.com/sipt/GoJsoner","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/sipt%2FGoJsoner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sipt%2FGoJsoner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sipt%2FGoJsoner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sipt%2FGoJsoner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sipt","download_url":"https://codeload.github.com/sipt/GoJsoner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224204641,"owners_count":17273155,"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-11-12T02:25:56.890Z","updated_at":"2024-11-12T02:25:57.475Z","avatar_url":"https://github.com/sipt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoJsoner\nLoading JSON file in Golang and discarding comments.\n\n## Installation\n\nInstall GoJsoner using the \"go get\" command:\n\n```\ngo get github.com/sipt/GoJsoner\n```\n\n## Examples\n\n```Go\nresult, err := Discard(`\n\t\t{//test comment1\n\t\t\t\"name\": \"测试\",\n\t\t\t/**\n\t\t\ttest comment2\n\t\t\t1\n\t\t\t2\n\t\t\t3\n\t\t\tend\n\t\t\t*/\n\t\t\t\"age\":26 //test comment3\n\t\t\t/*****/\n\t\t}\n\t`)\n```\n\noutput\n\n```\n{\"name\":\"测试\",\"age\":26}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsipt%2Fgojsoner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsipt%2Fgojsoner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsipt%2Fgojsoner/lists"}