{"id":74934,"library":"palantir-pkg-safejson","title":"SafeJSON","description":"Provides safe and consistent JSON marshaling and unmarshaling with HTML escaping disabled and UseNumber enabled by default.","status":"active","version":"1.2.0","language":"go","source_language":null,"source_url":"https://github.com/palantir/pkg","tags":["json","marshal","unmarshal","safe","encoding"],"install":[{"cmd":"go get github.com/palantir/pkg/safejson","lang":"bash","label":"Install github.com/palantir/pkg/safejson"}],"dependencies":[],"imports":[{"symbol":"safejson","correct":"github.com/palantir/pkg/safejson"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/palantir/pkg/safejson\"\n)\n\nfunc main() {\n\tdata, err := safejson.Marshal(map[string]int{\"a\": 1})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(string(data))\n}","lang":"go","description":"Marshals a map to JSON using safejson."},"warnings":[],"env_vars":null,"search_vec":"'consist':5 'default':18 'disabl':13 'enabl':16 'encod':23 'escap':12 'html':11 'json':6,19 'marshal':7,20 'provid':2 'safe':3,22 'safejson':1 'unmarsh':9,21 'usenumb':15","created_at":"2026-06-17T19:10:10.134293+00:00","updated_at":"2026-06-17T19:10:10.134293+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/palantir/pkg","github":"https://github.com/palantir/pkg","docs":"https://pkg.go.dev/github.com/palantir/pkg/safejson#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}