Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
abi87 committed Oct 2, 2024
1 parent 8339c2c commit e5aff2e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mod/primitives/pkg/encoding/json/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,10 @@ type Marshaler = json.Marshaler
// that can unmarshal a JSON description of themselves.
type Unmarshaler = json.Unmarshaler

// Marshal is a wrapper for gojson.Marshal, which provides high-performance JSON
// encoding.
var Marshal = json.Marshal

// MarshalIndent is a wrapper for gojson.MarshalIndent, which provides
// high-performance JSON encoding with indentation.
var MarshalIndent = json.MarshalIndent

// Unmarshal is a wrapper for gojson.Unmarshal, which provides high-performance
// JSON decoding.
var Unmarshal = json.Unmarshal

// RawMessage is an alias for json.RawMessage, represensting a raw encoded JSON
Expand Down

0 comments on commit e5aff2e

Please sign in to comment.