Skip to content

Commit

Permalink
Add alias for json.Number
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Aug 24, 2024
1 parent 9031ea4 commit 097c4c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions json.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ type (

// Unmarshaler is the interface implemented by types that can unmarshal a JSON description of themselves.
Unmarshaler = json.Unmarshaler

// Number represents a JSON number literal.
Number = json.Number
)

0 comments on commit 097c4c6

Please sign in to comment.