{"id":13564521,"url":"https://github.com/piprate/json-gold","last_synced_at":"2026-02-15T00:20:17.075Z","repository":{"id":43730754,"uuid":"115254983","full_name":"piprate/json-gold","owner":"piprate","description":"A JSON-LD processor for Go","archived":false,"fork":false,"pushed_at":"2025-12-21T20:07:31.000Z","size":1199,"stargazers_count":304,"open_issues_count":11,"forks_count":38,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-12-23T08:15:59.393Z","etag":null,"topics":["golang","json-ld","linked-data"],"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/piprate.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-12-24T10:12:34.000Z","updated_at":"2025-12-21T20:07:35.000Z","dependencies_parsed_at":"2023-02-09T02:45:32.086Z","dependency_job_id":"e52e07c4-dcde-43b5-8a13-680c6a9f7814","html_url":"https://github.com/piprate/json-gold","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/piprate/json-gold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piprate%2Fjson-gold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piprate%2Fjson-gold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piprate%2Fjson-gold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piprate%2Fjson-gold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piprate","download_url":"https://codeload.github.com/piprate/json-gold/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piprate%2Fjson-gold/sbom","scorecard":{"id":735197,"data":{"date":"2025-08-11","repo":{"name":"github.com/piprate/json-gold","commit":"0d71f108ccd08870d52d767ec6fa9ef6c913952d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":6,"reason":"Found 9/14 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":7,"reason":"9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:80: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/piprate/json-gold/ci.yml/master?enable=pin","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T15:34:01.730Z","repository_id":43730754,"created_at":"2025-08-22T15:34:01.730Z","updated_at":"2025-08-22T15:34:01.730Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29461735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T22:42:09.113Z","status":"ssl_error","status_checked_at":"2026-02-14T22:42:05.053Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["golang","json-ld","linked-data"],"created_at":"2024-08-01T13:01:32.507Z","updated_at":"2026-02-15T00:20:17.021Z","avatar_url":"https://github.com/piprate.png","language":"Go","funding_links":[],"categories":["Go","Implementations"],"sub_categories":["Go"],"readme":"# JSON-goLD\n\n[![GoDoc](https://godoc.org/github.com/piprate/json-gold?status.svg)](https://pkg.go.dev/github.com/piprate/json-gold)\n[![ci](https://github.com/piprate/json-gold/actions/workflows/ci.yml/badge.svg)](https://github.com/piprate/json-gold/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/piprate/json-gold/branch/master/graph/badge.svg?token=JvEEDMmppm)](https://codecov.io/gh/piprate/json-gold)\n\nThis library is an implementation of the [JSON-LD 1.1](http://json-ld.org/) specification in Go.\nIt supports both URDNA2015 and URGNA2012 RDF dataset normalisation algorithms.\n\n## Conformance ##\n\nThis library aims to pass the official [test suite](https://json-ld.org/test-suite/) and conform with the following:\n\n- [JSON-LD 1.0](http://www.w3.org/TR/2014/REC-json-ld-20140116/),\n  W3C Recommendation,\n  2014-01-16, and any [errata](http://www.w3.org/2014/json-ld-errata)\n- [JSON-LD 1.0 Processing Algorithms and API](http://www.w3.org/TR/2014/REC-json-ld-api-20140116/),\n  W3C Recommendation,\n  2014-01-16, and any [errata](http://www.w3.org/2014/json-ld-errata)\n- [JSON-LD 1.1](https://www.w3.org/TR/2019/CR-json-ld11-20191212/),\n  W3C Candidate Recommendation,\n  2019-12-12 or [newer JSON-LD latest](https://json-ld.org/spec/latest/json-ld/)\n- [JSON-LD 1.1 Processing Algorithms and API](https://www.w3.org/TR/2019/CR-json-ld11-api-20191212/),\n  W3C Candidate Recommendation,\n  2019-12-12 or [newer JSON-LD Processing Algorithms and API latest](https://www.w3.org/TR/json-ld11-api/)\n- [JSON-LD Framing 1.1](https://www.w3.org/TR/2019/CR-json-ld11-framing-20191212/)\n  W3C Candidate Recommendation\n  2019-12-12 or [newer](https://www.w3.org/TR/json-ld11-framing/)\n\n### Current JSON-LD 1.1 Conformance Status\n\nThis library provides comprehensive support of JSON-LD 1.1 specification, except in the areas mentioned below:\n\n#### Expansion\n\nGood coverage.\n\n#### Compaction\n\nGood coverage, except:\n\n- `@included` directive not supported\n\n#### RDF Serialization/Deserialization\n\nGood coverage, except:\n\n- partial support for JSON literals (`@json`)\n- `rdfDirection` option is not yet supported (including _i18n-datatype_ and _compound-literal_ forms)\n\n#### HTML based processing\n\nNot supported.\n\n### Current JSON-LD 1.1 Framing Conformance Status\n\nNot supported. The current implementation is still based on an earlier version of JSON-LD 1.1 Framing specification.\n\n### Official 1.1 Test Suite\n\nAs of April 4th, 2020:\n\n* 92.3% of tests from the [official JSON-LD test suite](https://github.com/w3c/json-ld-api/tree/master/tests) pass.\n* all RDF Dataset Normalisation tests from the [current test suite](https://json-ld.github.io/normalization/tests/index.html) pass\n\n## Examples ##\n\n### Expand ###\n\nSee complete code in [examples/expand.go](examples/expand.go).\n\n```go\nproc := ld.NewJsonLdProcessor()\noptions := ld.NewJsonLdOptions(\"\")\n\n// expanding remote document\n\nexpanded, err := proc.Expand(\"http://json-ld.org/test-suite/tests/expand-0002-in.jsonld\", options)\nif err != nil {\n\tlog.Println(\"Error when expanding JSON-LD document:\", err)\n\treturn\n}\n\n// expanding in-memory document\n\ndoc := map[string]interface{}{\n\t\"@context\": \"http://schema.org/\",\n\t\"@type\": \"Person\",\n\t\"name\": \"Jane Doe\",\n\t\"jobTitle\": \"Professor\",\n\t\"telephone\": \"(425) 123-4567\",\n\t\"url\": \"http://www.janedoe.com\",\n}\n\nexpanded, err = proc.Expand(doc, options)\n```\n\n### Compact ###\n\nSee complete code in [examples/compact.go](examples/compact.go).\n\n```go\nproc := ld.NewJsonLdProcessor()\noptions := ld.NewJsonLdOptions(\"\")\n\ndoc := map[string]interface{}{\n\t\"@id\": \"http://example.org/test#book\",\n\t\"http://example.org/vocab#contains\": map[string]interface{}{\n\t\t\"@id\": \"http://example.org/test#chapter\",\n\t},\n\t\"http://purl.org/dc/elements/1.1/title\": \"Title\",\n}\n\ncontext := map[string]interface{}{\n\t\"@context\": map[string]interface{}{\n\t\t\"dc\": \"http://purl.org/dc/elements/1.1/\",\n\t\t\"ex\": \"http://example.org/vocab#\",\n\t\t\"ex:contains\": map[string]interface{}{\n\t\t\t\"@type\": \"@id\",\n\t\t},\n\t},\n}\n\ncompactedDoc, err := proc.Compact(doc, context, options)\n```\n\n### Flatten ###\n\nSee complete code in [examples/flatten.go](examples/flatten.go).\n\n```go\nproc := ld.NewJsonLdProcessor()\noptions := ld.NewJsonLdOptions(\"\")\n\ndoc := map[string]interface{}{\n\t\"@context\": []interface{}{\n\t\tmap[string]interface{}{\n\t\t\t\"name\": \"http://xmlns.com/foaf/0.1/name\",\n\t\t\t\"homepage\": map[string]interface{}{\n\t\t\t\t\"@id\": \"http://xmlns.com/foaf/0.1/homepage\",\n\t\t\t\t\"@type\": \"@id\",\n\t\t\t},\n\t\t},\n\t\tmap[string]interface{}{\n\t\t\t\"ical\": \"http://www.w3.org/2002/12/cal/ical#\",\n\t\t},\n\t},\n\t\"@id\": \"http://example.com/speakers#Alice\",\n\t\"name\": \"Alice\",\n\t\"homepage\": \"http://xkcd.com/177/\",\n\t\"ical:summary\": \"Alice Talk\",\n\t\"ical:location\": \"Lyon Convention Centre, Lyon, France\",\n}\n\nflattenedDoc, err := proc.Flatten(doc, nil, options)\n```\n\n### Frame ###\n\nSee complete code in [examples/frame.go](examples/frame.go).\n\n```go\nproc := ld.NewJsonLdProcessor()\noptions := ld.NewJsonLdOptions(\"\")\n\ndoc := map[string]interface{}{\n\t\"@context\": map[string]interface{}{\n\t\t\"dc\": \"http://purl.org/dc/elements/1.1/\",\n\t\t\"ex\": \"http://example.org/vocab#\",\n\t\t\"ex:contains\": map[string]interface{}{\"@type\": \"@id\"},\n\t},\n\t\"@graph\": []interface{}{\n\t\tmap[string]interface{}{\n\t\t\t\"@id\": \"http://example.org/test/#library\",\n\t\t\t\"@type\": \"ex:Library\",\n\t\t\t\"ex:contains\": \"http://example.org/test#book\",\n\t\t},\n\t\tmap[string]interface{}{\n\t\t\t\"@id\": \"http://example.org/test#book\",\n\t\t\t\"@type\": \"ex:Book\",\n\t\t\t\"dc:contributor\": \"Writer\",\n\t\t\t\"dc:title\": \"My Book\",\n\t\t\t\"ex:contains\": \"http://example.org/test#chapter\",\n\t\t},\n\t\tmap[string]interface{}{\n\t\t\t\"@id\": \"http://example.org/test#chapter\",\n\t\t\t\"@type\": \"ex:Chapter\",\n\t\t\t\"dc:description\": \"Fun\",\n\t\t\t\"dc:title\": \"Chapter One\",\n\t\t},\n\t},\n}\n\nframe := map[string]interface{}{\n\t\"@context\": map[string]interface{}{\n\t\t\"dc\": \"http://purl.org/dc/elements/1.1/\",\n\t\t\"ex\": \"http://example.org/vocab#\",\n\t},\n\t\"@type\": \"ex:Library\",\n\t\"ex:contains\": map[string]interface{}{\n\t\t\"@type\": \"ex:Book\",\n\t\t\"ex:contains\": map[string]interface{}{\n\t\t\t\"@type\": \"ex:Chapter\",\n\t\t},\n\t},\n}\n\nframedDoc, err := proc.Frame(doc, frame, options)\n```\n\n### To RDF ###\n\nSee complete code in [examples/to_rdf.go](examples/to_rdf.go).\n\n```go\nproc := ld.NewJsonLdProcessor()\noptions := ld.NewJsonLdOptions(\"\")\noptions.Format = \"application/n-quads\"\n\n// this JSON-LD document was taken from http://json-ld.org/test-suite/tests/toRdf-0028-in.jsonld\ndoc := map[string]interface{}{\n\t\"@context\": map[string]interface{}{\n\t\t\"sec\":        \"http://purl.org/security#\",\n\t\t\"xsd\":        \"http://www.w3.org/2001/XMLSchema#\",\n\t\t\"rdf\":        \"http://www.w3.org/1999/02/22-rdf-syntax-ns#\",\n\t\t\"dc\":         \"http://purl.org/dc/terms/\",\n\t\t\"sec:signer\": map[string]interface{}{\"@type\": \"@id\"},\n\t\t\"dc:created\": map[string]interface{}{\"@type\": \"xsd:dateTime\"},\n\t},\n\t\"@id\":                \"http://example.org/sig1\",\n\t\"@type\":              []interface{}{\"rdf:Graph\", \"sec:SignedGraph\"},\n\t\"dc:created\":         \"2011-09-23T20:21:34Z\",\n\t\"sec:signer\":         \"http://payswarm.example.com/i/john/keys/5\",\n\t\"sec:signatureValue\": \"OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=\",\n\t\"@graph\": map[string]interface{}{\n\t\t\"@id\":      \"http://example.org/fact1\",\n\t\t\"dc:title\": \"Hello World!\",\n\t},\n}\ntriples, err := proc.ToRDF(doc, options)\n```\n\n### From RDF ###\n\nSee complete code in [examples/from_rdf.go](examples/from_rdf.go).\n\n```go\nproc := ld.NewJsonLdProcessor()\noptions := ld.NewJsonLdOptions(\"\")\n\ntriples := `\n\t\u003chttp://example.com/Subj1\u003e \u003chttp://www.w3.org/1999/02/22-rdf-syntax-ns#type\u003e \u003chttp://example.com/Type\u003e .\n\t\u003chttp://example.com/Subj1\u003e \u003chttp://example.com/prop1\u003e \u003chttp://example.com/Obj1\u003e .\n\t\u003chttp://example.com/Subj1\u003e \u003chttp://example.com/prop2\u003e \"Plain\" .\n\t\u003chttp://example.com/Subj1\u003e \u003chttp://example.com/prop2\u003e \"2012-05-12\"^^\u003chttp://www.w3.org/2001/XMLSchema#date\u003e .\n\t\u003chttp://example.com/Subj1\u003e \u003chttp://example.com/prop2\u003e \"English\"@en .\n`\n\ndoc, err := proc.FromRDF(triples, options)\n```\n\n### Normalize ###\n\nSee complete code in [examples/normalize.go](examples/normalize.go).\n\n```go\nproc := ld.NewJsonLdProcessor()\noptions := ld.NewJsonLdOptions(\"\")\noptions.Format = \"application/n-quads\"\noptions.Algorithm = \"URDNA2015\"\n\ndoc := map[string]interface{}{\n\t\"@context\": map[string]interface{}{\n\t\t\"ex\": \"http://example.org/vocab#\",\n\t},\n\t\"@id\": \"http://example.org/test#example\",\n\t\"@type\": \"ex:Foo\",\n\t\"ex:embed\": map[string]interface{}{\n\t\t\"@type\": \"ex:Bar\",\n\t},\n}\n\nnormalizedTriples, err := proc.Normalize(doc, options)\n```\n\n## Inspiration ##\n\nThis implementation was influenced by [Ruby JSON-LD reader/writer](https://github.com/ruby-rdf/json-ld), [JSONLD-Java](https://github.com/jsonld-java/jsonld-java) with some techniques borrowed from [PyLD](https://github.com/digitalbazaar/pyld) and [gojsonld](https://github.com/linkeddata/gojsonld). Big thank you to the contributors of the aforementioned libraries for figuring out implementation details of the core algorithms.\n\n## History ##\n\nThe [original library](https://github.com/kazarena/json-gold) was written by Stan Nazarenko\n([@kazarena](https://github.com/kazarena)). See the full list of contributors\n[here](https://github.com/piprate/json-gold/blob/master/CONTRIBUTORS.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiprate%2Fjson-gold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiprate%2Fjson-gold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiprate%2Fjson-gold/lists"}