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
↓ 1 callers
Method
scanFlowMapEnd
(ctx *Context)
scanner/scanner.go:923
↓ 1 callers
Method
scanFlowMapStart
(ctx *Context)
scanner/scanner.go:909
↓ 1 callers
Method
scanMapDelim
(ctx *Context)
scanner/scanner.go:978
↓ 1 callers
Method
scanMapKey
(ctx *Context)
scanner/scanner.go:1223
↓ 1 callers
Method
scanMergeKey
(ctx *Context)
scanner/scanner.go:1064
↓ 1 callers
Method
scanMultiLine
(ctx *Context, c rune)
scanner/scanner.go:777
↓ 1 callers
Method
scanMultiLineHeader
(ctx *Context)
scanner/scanner.go:1117
↓ 1 callers
Method
scanMultiLineHeaderOption
(ctx *Context)
scanner/scanner.go:1154
↓ 1 callers
Method
scanNewLine
(ctx *Context, c rune)
scanner/scanner.go:855
↓ 1 callers
Method
scanQuote
(ctx *Context, ch rune)
scanner/scanner.go:618
↓ 1 callers
Method
scanRawFoldedChar
(ctx *Context)
scanner/scanner.go:1076
↓ 1 callers
Method
scanReservedChar
(ctx *Context, c rune)
scanner/scanner.go:1286
↓ 1 callers
Method
scanSequence
(ctx *Context)
scanner/scanner.go:1091
↓ 1 callers
Method
scanSingleQuote
(ctx *Context)
scanner/scanner.go:214
↓ 1 callers
Method
scanTab
(ctx *Context, c rune)
scanner/scanner.go:1304
↓ 1 callers
Method
scanTag
(ctx *Context)
scanner/scanner.go:689
↓ 1 callers
Method
scanWhiteSpace
(ctx *Context)
scanner/scanner.go:639
↓ 1 callers
Method
setCommentByCommentMap
(node ast.Node)
encode.go:135
↓ 1 callers
Method
setDefaultColorSet
()
printer/printer.go:152
↓ 1 callers
Method
setDefaultValueIfConflicted
(v reflect.Value, fieldMap StructFieldMap)
decode.go:1189
↓ 1 callers
Method
setFolded
(lastDelimColumn int, opt string)
scanner/context.go:104
↓ 1 callers
Method
setFootComment
(node ast.Node, filtered ast.Node, comment *ast.CommentGroupNode)
encode.go:242
↓ 1 callers
Method
setHeadComment
(node ast.Node, filtered ast.Node, comment *ast.CommentGroupNode)
encode.go:174
↓ 1 callers
Method
setLineComment
(node ast.Node, filtered ast.Node, comment *ast.CommentGroupNode)
encode.go:206
↓ 1 callers
Method
setLineCommentToParentMapNode
(node ast.Node, filtered ast.Node, comment *ast.CommentGroupNode)
encode.go:222
↓ 1 callers
Method
setLiteral
(lastDelimColumn int, opt string)
scanner/context.go:92
↓ 1 callers
Method
setRawFolded
(column int)
scanner/context.go:116
↓ 1 callers
Method
setSmartAlias
(name string, ref uintptr)
encode.go:1061
↓ 1 callers
Method
setSmartAnchor
(ptr uintptr, name string)
encode.go:1024
↓ 1 callers
Method
setTokenTypeByPrevTag
(tk *token.Token)
scanner/context.go:433
↓ 1 callers
Method
setupErrorTokenFormat
(annotateLine int, isColored bool)
printer/printer.go:312
↓ 1 callers
Method
stringWithoutComment
()
ast/ast.go:642
↓ 1 callers
Method
stringWithoutComment
()
ast/ast.go:694
↓ 1 callers
Method
stringWithoutComment
()
ast/ast.go:747
↓ 1 callers
Method
stringWithoutComment
()
ast/ast.go:969
↓ 1 callers
Method
stringWithoutComment
()
ast/ast.go:1026
↓ 1 callers
Method
stringWithoutComment
()
ast/ast.go:1078
↓ 1 callers
Method
stringWithoutComment
()
ast/ast.go:1129
↓ 1 callers
Method
stringWithoutComment
()
ast/ast.go:1342
↓ 1 callers
Function
structField
(field reflect.StructField)
struct.go:39
↓ 1 callers
Method
toPointer
(v reflect.Value)
encode.go:998
↓ 1 callers
Function
toTokenGroup
(g *parser.TokenGroup)
docs/playground/cmd/yaml/main.go:150
↓ 1 callers
Function
tokenToComponentWithoutTip
(tk: Token)
docs/playground/src/App.tsx:453
↓ 1 callers
Method
trimIndentSpace
(trimIndentNum int, v string)
internal/format/format.go:505
↓ 1 callers
Method
trimNewLineCharPrefix
(v string)
internal/format/format.go:493
↓ 1 callers
Method
trimSpacePrefix
(v string)
internal/format/format.go:499
↓ 1 callers
Function
unformat
(attrs ...ColorAttribute)
printer/color.go:68
↓ 1 callers
Method
unmarshalableText
(node ast.Node)
decode.go:704
↓ 1 callers
Method
unmarshalerFromCustomUnmarshalerMap
(t reflect.Type)
decode.go:730
↓ 1 callers
Method
updateIndent
(ctx *Context, c rune)
scanner/scanner.go:176
↓ 1 callers
Method
updateIndentLevel
()
scanner/scanner.go:152
↓ 1 callers
Method
updateIndentState
(ctx *Context)
scanner/scanner.go:162
↓ 1 callers
Method
updateNewLineInFolded
updateNewLineInFolded if Folded or RawFolded context and the content on the current line starts at the same column as the previous line, treat the new
scanner/context.go:213
↓ 1 callers
Method
updateNewLineState
()
scanner/context.go:176
↓ 1 callers
Method
updateSpaceOnlyIndentColumn
(column int)
scanner/context.go:149
↓ 1 callers
Method
validateIndentAfterSpaceOnly
(column int)
scanner/context.go:156
↓ 1 callers
Method
validateMapKeyValueNextToken
(ctx *context, keyTk, tk *Token)
parser/parser.go:540
↓ 1 callers
Method
validateMultiLineHeaderOption
(opt string)
scanner/scanner.go:1129
↓ 1 callers
Method
walk
(parent, node Node)
ast/ast.go:2252
Function
AST
(v: any)
docs/playground/src/App.tsx:506
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:573
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:619
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:677
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:730
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:782
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:904
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:974
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1009
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1061
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1112
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1239
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1330
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1396
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1613
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1729
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1827
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1911
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:1958
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:2015
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:2077
Method
AddColumn
AddColumn add column number to child nodes recursively
ast/ast.go:2117
Method
AddColumn
AddColumn append column number to current position of column
token/token.go:816
Function
AllowDuplicateMapKey
AllowDuplicateMapKey ignore syntax error when mapping keys that are duplicates.
option.go:82
Function
AllowFieldPrefixes
AllowFieldPrefixes, when paired with [DisallowUnknownField], allows fields with the specified prefixes to bypass the unknown field check.
option.go:74
Function
App
()
docs/playground/src/App.tsx:532
Method
ArrayRange
ArrayRange implements ArrayNode protocol
ast/ast.go:1692
Method
ArrayRange
()
ast/ast.go:2051
Function
AutoInt
AutoInt automatically converts floating-point numbers to integers when the fractional part is zero. For example, a value of 1.0 will be encoded as 1.
option.go:245
Function
Benchmark
(b *testing.B)
benchmarks/benchmark_test.go:11
Method
Column
()
parser/token.go:190
Function
CommentToMap
CommentToMap apply the position and content of comments in a YAML document to a CommentMap.
option.go:344
Function
CustomMarshaler
CustomMarshaler overrides any encoding process for the type specified in generics. NOTE: If type T implements MarshalYAML for pointer receiver, the t
option.go:221
Function
CustomMarshalerContext
CustomMarshalerContext overrides any encoding process for the type specified in generics. Similar to CustomMarshaler, but allows passing a context to
option.go:233
Function
CustomUnmarshaler
CustomUnmarshaler overrides any decoding process for the type specified in generics. NOTE: If RegisterCustomUnmarshaler and CustomUnmarshaler of Deco
option.go:111
Function
CustomUnmarshalerContext
CustomUnmarshalerContext overrides any decoding process for the type specified in generics. Similar to CustomUnmarshaler, but allows passing a context
option.go:123
Function
DisallowUnknownField
DisallowUnknownField causes the Decoder to return an error when the destination is a struct and the input contains object keys which do not match any
option.go:65
Function
EmptyTokenContainer
()
docs/playground/src/App.tsx:267
Method
Equals
(o *rawJSONWrapper)
yaml_test.go:366
Method
Error
()
internal/errors/error.go:132
Method
Error
()
internal/errors/error.go:148
← previous
next →
601–700 of 1,184, ranked by callers