summaryrefslogtreecommitdiff
path: root/compat/json/compat.go
diff options
context:
space:
mode:
Diffstat (limited to 'compat/json/compat.go')
-rw-r--r--compat/json/compat.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/json/compat.go b/compat/json/compat.go
index f6ef2f1..0c9e800 100644
--- a/compat/json/compat.go
+++ b/compat/json/compat.go
@@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: GPL-2.0-or-later
+// Package json is a wrapper around lowmemjson that is a (mostly)
+// drop-in replacement for the standard library's encoding/json.
package json
import (
@@ -15,6 +17,7 @@ import (
"git.lukeshu.com/go/lowmemjson"
)
+//nolint:stylecheck // ST1021 False positive; these aren't comments on individual types.
type (
Number = json.Number
RawMessage = json.RawMessage