Documentation
¶
Index ¶
- Constants
- Variables
- func NewCommentFilter(reader io.Reader) io.Readerdeprecated
- func UnmarshalExtended[T any](content []byte) (T, error)
- func UnmarshalExtendedContext[T any](ctx context.Context, content []byte) (T, error)
- type Comment
- type CommentFilter
- type CommentKind
- type CommentMarshaler
- type CommentPath
- type CommentPathKind
- type CommentPathSegment
- type CommentPlacement
- type CommentPosition
- type CommentSet
- type CommentUnmarshaler
- type ContextMarshaler
- type ContextUnmarshaler
- type Decoder
- type Delim
- type Encoder
- type RawMessage
- type SyntaxError
- type Token
Constants ¶
View Source
const ( CommentKindLine = json.CommentKindLine CommentKindHash = json.CommentKindHash CommentKindBlock = json.CommentKindBlock CommentPlacementLeading = json.CommentPlacementLeading CommentPlacementTrailing = json.CommentPlacementTrailing CommentPlacementInner = json.CommentPlacementInner CommentPathKey = json.CommentPathKey CommentPathIndex = json.CommentPathIndex )
Variables ¶
View Source
var ( Marshal = json.Marshal Unmarshal = json.Unmarshal NewEncoder = json.NewEncoder NewDecoder = json.NewDecoder )
View Source
var ( MarshalContext = json.MarshalContext UnmarshalContext = json.UnmarshalContext NewEncoderContext = json.NewEncoderContext NewDecoderContext = json.NewDecoderContext UnmarshalContextDisallowUnknownFields = json.UnmarshalContextDisallowUnknownFields )
View Source
var UnmarshalDisallowUnknownFields = json.UnmarshalDisallowUnknownFields
Functions ¶
func NewCommentFilter
deprecated
func UnmarshalExtended ¶
Types ¶
type CommentFilter ¶
type CommentFilter struct {
// contains filtered or unexported fields
}
type CommentKind ¶
type CommentKind = json.CommentKind
type CommentMarshaler ¶
type CommentMarshaler = json.CommentMarshaler
type CommentPath ¶
type CommentPath = json.CommentPath
type CommentPathKind ¶
type CommentPathKind = json.CommentPathKind
type CommentPathSegment ¶
type CommentPathSegment = json.CommentPathSegment
type CommentPlacement ¶
type CommentPlacement = json.CommentPlacement
type CommentPosition ¶
type CommentPosition = json.CommentPosition
type CommentSet ¶
type CommentSet = json.CommentSet
type CommentUnmarshaler ¶
type CommentUnmarshaler = json.CommentUnmarshaler
type ContextMarshaler ¶ added in v0.6.0
type ContextUnmarshaler ¶ added in v0.6.0
type RawMessage ¶
type RawMessage = json.RawMessage
type SyntaxError ¶
type SyntaxError = json.SyntaxError
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
contextjson
Package json implements encoding and decoding of JSON as defined in RFC 7159.
|
Package json implements encoding and decoding of JSON as defined in RFC 7159. |
Click to show internal directories.
Click to hide internal directories.