Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tailscale/hujson
/ types & classes
Types & classes
14 in github.com/tailscale/hujson
⨍
Functions
134
◇
Types & classes
14
↓ 49 callers
TypeAlias
Extra
Extra is the raw bytes for whitespace and comments. Whitespace per RFC 8259, section 2 are permitted. Line comments that start with "//" and end with
types.go:547
↓ 37 callers
TypeAlias
Literal
Literal is the raw bytes for a JSON null, boolean, string, or number. It contains no surrounding whitespace or comments.
types.go:200
↓ 1 callers
TypeAlias
Kind
Kind reports the kind of the JSON value. It is the first byte of the grammar for that JSON value, with the exception that JSON numbers are represented
types.go:112
Struct
Array
Array is an exact syntactic representation of a JSON array.
types.go:435
Struct
Object
Object is an exact syntactic representation of a JSON object.
types.go:360
Struct
ObjectMember
types.go:370
Struct
Value
Value is an exact syntactic representation of a JSON value. The starting and ending byte offsets are populated when parsing, but are otherwise ignored
types.go:124
Interface
ValueTrimmed
ValueTrimmed is a JSON value without surrounding whitespace or comments. This is a sum type consisting of Literal, *Object, or *Array.
types.go:183
Interface
composite
composite are the common methods of Object and Array.
types.go:503
Struct
findState
find.go:29
Struct
formatOptions
format.go:349
Struct
lineStats
lineStats carries statistics about a sequence of lines.
format.go:132
Struct
patchOperation
patch.go:70
Struct
row
format.go:514