Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"os"

"github.com/fpatron/betterjson"
"github.com/fpatron/jsonc"
)

type Metadata struct {
Expand Down Expand Up @@ -48,7 +48,7 @@ func main() {
}

var example ExampleData
err = betterjson.Unmarshal(data, &example)
err = jsonc.Unmarshal(data, &example)
if err != nil {
log.Fatalf("Failed to parse example.json: %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/fpatron/betterjson
module github.com/fpatron/jsonc

go 1.26.0
2 changes: 1 addition & 1 deletion jsonc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package betterjson
package jsonc

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion jsonc_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package betterjson
package jsonc

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion v2/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/fpatron/betterjson/v2
module github.com/fpatron/jsonc/v2

go 1.26.0
2 changes: 1 addition & 1 deletion v2/jsonc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package betterjson
package jsonc

import "encoding/json/v2"

Expand Down
2 changes: 1 addition & 1 deletion v2/jsonc_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package betterjson
package jsonc

import (
"encoding/json/v2"
Expand Down