Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goccy/go-yaml
/ functions
Functions
1,184 in github.com/goccy/go-yaml
⨍
Functions
1,184
◇
Types & classes
217
↓ 2 callers
Function
Alias
(tk *token.Token)
ast/ast.go:484
↓ 2 callers
Function
Alias
Alias create token for Alias
token/token.go:1017
↓ 2 callers
Function
Anchor
Anchor create token for Anchor
token/token.go:1005
↓ 2 callers
Method
AnnotateSource
AnnotateSource add annotation to passed source ( see section 5.1 in README.md ).
path.go:374
↓ 2 callers
Function
Bool
Bool create node for boolean value
ast/ast.go:340
↓ 2 callers
Method
Close
Close closes the encoder by writing any remaining data. It does not write a stream terminating string "...".
encode.go:75
↓ 2 callers
Function
CollectEntry
CollectEntry create token for CollectEntry
token/token.go:933
↓ 2 callers
Function
CreateGroupedTokens
(tokens token.Tokens)
parser/token.go:204
↓ 2 callers
Method
DecodeContext
DecodeContext reads the next YAML-encoded value from its input and stores it in the value pointed to by v with context.Context.
decode.go:1993
↓ 2 callers
Function
Directive
Directive create token for Directive
token/token.go:1093
↓ 2 callers
Function
DocumentEnd
DocumentEnd create token for DocumentEnd
token/token.go:1141
↓ 2 callers
Function
DocumentHeader
DocumentHeader create token for DocumentHeader
token/token.go:1129
↓ 2 callers
Function
DoubleQuote
DoubleQuote create token for DoubleQuote
token/token.go:1081
↓ 2 callers
Method
EncodeContext
EncodeContext writes the YAML encoding of v to the stream with context.Context.
encode.go:90
↓ 2 callers
Method
EncodeToNodeContext
EncodeToNodeContext convert v to ast.Node with context.Context.
encode.go:115
↓ 2 callers
Function
ErrOverflow
ErrOverflow creates an overflow error instance with message and a token.
internal/errors/error.go:83
↓ 2 callers
Function
ErrUnsupportedFootPositionType
(node ast.Node)
error.go:40
↓ 2 callers
Function
ErrUnsupportedHeadPositionType
(node ast.Node)
error.go:32
↓ 2 callers
Function
ErrUnsupportedLinePositionType
(node ast.Node)
error.go:36
↓ 2 callers
Function
Filter
Filter returns a list of nodes that match the given type.
ast/ast.go:2327
↓ 2 callers
Method
FilterNode
FilterNode filter from node by YAMLPath.
path.go:277
↓ 2 callers
Function
Float
Float create node for float value
ast/ast.go:363
↓ 2 callers
Function
Folded
Folded create token for Folded
token/token.go:1057
↓ 2 callers
Function
FormatNodeWithResolvedAlias
(n ast.Node, anchorNodeMap map[string]ast.Node)
internal/format/format.go:10
↓ 2 callers
Method
InvalidToken
()
token/token.go:847
↓ 2 callers
Method
IsZero
()
encode.go:735
↓ 2 callers
Function
Literal
Literal create token for Literal
token/token.go:1045
↓ 2 callers
Function
LiteralBlockHeader
LiteralBlockHeader detect literal block scalar header
token/token.go:718
↓ 2 callers
Function
MappingEnd
MappingEnd create token for MappingEnd
token/token.go:981
↓ 2 callers
Function
MappingKey
MappingKey create token for MappingKey
token/token.go:909
↓ 2 callers
Function
MappingStart
MappingStart create token for MappingStart
token/token.go:969
↓ 2 callers
Function
MappingValue
MappingValue create token for MappingValue
token/token.go:921
↓ 2 callers
Function
Marshal
Marshal serializes the value provided into a YAML document. The structure of the generated document will reflect the structure of the value itself. Ma
yaml.go:144
↓ 2 callers
Function
MarshalWithOptions
MarshalWithOptions serializes the value provided into a YAML document with EncodeOptions.
yaml.go:149
↓ 2 callers
Function
Merge
Merge merge document, map, sequence node.
ast/ast.go:2354
↓ 2 callers
Method
Merge
Merge merge key/value of map.
ast/ast.go:1199
↓ 2 callers
Method
MergeFromFile
MergeFromFile merge ast.File into ast.File.
path.go:305
↓ 2 callers
Function
MergeKey
MergeKey create node for merge key ( << )
ast/ast.go:430
↓ 2 callers
Function
MergeKey
MergeKey create token for MergeKey
token/token.go:1117
↓ 2 callers
Function
Nan
Nan create node for .nan value
ast/ast.go:394
↓ 2 callers
Function
NewDecoder
NewDecoder returns a new decoder that reads from r.
decode.go:53
↓ 2 callers
Function
NewEncoder
NewEncoder returns a new encoder that writes to w. The Encoder should be closed after use to flush all data to w.
encode.go:58
↓ 2 callers
Function
Null
Null create node for null value
ast/ast.go:332
↓ 2 callers
Method
ReplaceWithFile
ReplaceWithFile replace ast.File with ast.File.
path.go:347
↓ 2 callers
Method
ReplaceWithNode
ReplaceNode replace ast.File with ast.Node.
path.go:357
↓ 2 callers
Function
SequenceEnd
SequenceEnd create token for SequenceEnd
token/token.go:957
↓ 2 callers
Function
SequenceEntry
SequenceEntry creates SequenceEntryNode instance.
ast/ast.go:1754
↓ 2 callers
Function
SequenceEntry
SequenceEntry create token for SequenceEntry
token/token.go:897
↓ 2 callers
Function
SequenceStart
SequenceStart create token for SequenceStart
token/token.go:945
↓ 2 callers
Function
SingleQuote
SingleQuote create token for SingleQuote
token/token.go:1069
↓ 2 callers
Function
Unmarshal
Unmarshal decodes the first document found within the in byte slice and assigns decoded values into the out value. Struct fields are only unmarshalle
yaml.go:194
↓ 2 callers
Function
UseOrderedMap
UseOrderedMap can be interpreted as a map, and uses MapSlice ( ordered map ) aggressively if there is no type specification
option.go:91
↓ 2 callers
Method
YAMLName
String node type identifier to YAML Structure name based on https://yaml.org/spec/1.2/spec.html
ast/ast.go:123
↓ 2 callers
Function
YAMLToJSON
YAMLToJSON convert YAML bytes to JSON.
yaml.go:241
↓ 2 callers
Method
addBufWithTab
(r rune)
scanner/context.go:282
↓ 2 callers
Method
addIndent
(ctx *Context, column int)
scanner/context.go:192
↓ 2 callers
Method
addNullValueToken
(tk *Token)
parser/context.go:130
↓ 2 callers
Method
breakMultiLine
(ctx *Context)
scanner/scanner.go:210
↓ 2 callers
Method
bufferedToken
(ctx *Context)
scanner/scanner.go:67
↓ 2 callers
Method
canDecodeByUnmarshaler
(dst reflect.Value)
decode.go:743
↓ 2 callers
Method
castToTime
(ctx context.Context, src ast.Node)
decode.go:1228
↓ 2 callers
Function
checkLineBreak
(t *token.Token)
ast/ast.go:288
↓ 2 callers
Method
clearState
()
scanner/scanner.go:1509
↓ 2 callers
Function
colorize
(idx int, content string)
parser/color.go:24
↓ 2 callers
Method
currentChar
()
scanner/context.go:332
↓ 2 callers
Method
decodeByUnmarshaler
(ctx context.Context, dst reflect.Value, src ast.Node)
decode.go:766
↓ 2 callers
Method
decodeInit
(ctx context.Context)
decode.go:1937
↓ 2 callers
Method
dump
(ctx *groupTokenRenderContext)
parser/token.go:135
↓ 2 callers
Method
encodeAnchor
(anchorName string, value ast.Node, fieldValue reflect.Value, column int)
encode.go:855
↓ 2 callers
Method
encodeFloat
(v float64, bitSize int)
encode.go:541
↓ 2 callers
Method
encodeMapItem
(ctx context.Context, item MapItem, column int)
encode.go:640
↓ 2 callers
Function
escapeSingleQuote
escapeSingleQuote escapes s to a single quoted scalar. https://yaml.org/spec/1.2.2/#732-single-quoted-style
ast/ast.go:798
↓ 2 callers
Method
format
(n ast.Node)
internal/format/format.go:266
↓ 2 callers
Method
formatDocument
(n *ast.DocumentNode)
internal/format/format.go:296
↓ 2 callers
Method
formatMappingValue
(n *ast.MappingValueNode)
internal/format/format.go:336
↓ 2 callers
Method
foundDocumentSeparatorMarker
(src []rune)
scanner/scanner.go:603
↓ 2 callers
Function
getAnchorMap
(ctx context.Context)
context.go:31
↓ 2 callers
Method
getArrayNode
(node ast.Node)
decode.go:585
↓ 2 callers
Method
getMultiLineState
()
scanner/context.go:88
↓ 2 callers
Function
getTag
(field reflect.StructField)
struct.go:28
↓ 2 callers
Function
groupedTokenToComponent
(g: GroupedToken, groups: string[])
docs/playground/src/App.tsx:316
↓ 2 callers
Method
hasKeepAllEndNewlineOpt
()
scanner/context.go:261
↓ 2 callers
Method
hasTrimAllEndNewlineOpt
()
scanner/context.go:257
↓ 2 callers
Method
insertToken
(tk *Token)
parser/context.go:151
↓ 2 callers
Method
isChangedToIndentStateDown
()
scanner/scanner.go:198
↓ 2 callers
Method
isEOS
()
scanner/context.go:309
↓ 2 callers
Method
isFlowMapDelim
(tk *Token)
parser/parser.go:438
↓ 2 callers
Method
isFlowMode
()
scanner/scanner.go:899
↓ 2 callers
Method
isIncludedRenderName
(name string)
struct.go:94
↓ 2 callers
Method
isIndentColumn
(column int)
scanner/context.go:185
↓ 2 callers
Method
isInitialized
()
decode.go:1933
↓ 2 callers
Method
isInvalidValue
(v reflect.Value)
encode.go:273
↓ 2 callers
Method
isTagAndMapNode
(node ast.Node)
encode.go:677
↓ 2 callers
Method
isYAMLFile
(file string)
decode.go:1808
↓ 2 callers
Method
keyToNodeMap
(ctx context.Context, node ast.Node, ignoreMergeKey bool, getKeyOrValueNode func(*ast.MapNodeIter) ast.Node)
decode.go:1125
↓ 2 callers
Method
msg
()
internal/errors/error.go:156
↓ 2 callers
Method
msg
()
internal/errors/error.go:160
↓ 2 callers
Method
msg
()
internal/errors/error.go:231
↓ 2 callers
Function
newBoolNode
(ctx *context, tk *Token)
parser/node.go:96
↓ 2 callers
Function
newFloatNode
(ctx *context, tk *Token)
parser/node.go:114
← previous
next →
201–300 of 1,184, ranked by callers