Registry / serialization / tidwall-jsonc

tidwall-jsonc

JSON →
library0.3.3gogounverified

Package jsonc provides a JSON parser that supports comments and trailing commas.

go get github.com/tidwall/jsonc
INSTALL
IMPORT
SIG · TIDWALL-JSONC
T
tidwall-jsonc
serializationgov0.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

jsonc
github.com/tidwall/jsonc

Converts JSONC (with comments) to standard JSON.

package main import ( "fmt" "github.com/tidwall/jsonc" ) func main() { data := []byte(`{"name": "world" /* comment */}`) result := jsonc.ToJSON(data) fmt.Println(string(result)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
tidwall-jsonc — go get tidwall-jsonc · libregistry