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
newIntegerNode
(ctx *context, tk *Token)
parser/node.go:105
↓ 2 callers
Method
newLineCharacterNum
(src string)
parser/parser.go:688
↓ 2 callers
Function
newMappingNode
(ctx *context, tk *Token, isFlow bool, values ...*ast.MappingValueNode)
parser/node.go:11
↓ 2 callers
Function
newSequenceNode
(ctx *context, tk *Token, isFlow bool)
parser/node.go:168
↓ 2 callers
Method
next
()
scanner/context.go:317
↓ 2 callers
Method
normalizeSelectorName
(name string)
path.go:425
↓ 2 callers
Method
parseAlias
(ctx *context)
parser/parser.go:889
↓ 2 callers
Method
parseDirectiveName
(ctx *context)
parser/parser.go:1272
↓ 2 callers
Method
parseFlowMap
(ctx *context)
parser/parser.go:329
↓ 2 callers
Method
parseFlowSequence
(ctx *context)
parser/parser.go:1019
↓ 2 callers
Method
parseMap
(ctx *context)
parser/parser.go:442
↓ 2 callers
Method
parseMapKeyValue
(ctx *context, g *TokenGroup, entryTk *Token)
parser/parser.go:566
↓ 2 callers
Method
parseSequence
(ctx *context)
parser/parser.go:1083
↓ 2 callers
Method
previousChar
()
scanner/context.go:325
↓ 2 callers
Method
progressOnly
(ctx *Context, num int)
scanner/scanner.go:101
↓ 2 callers
Method
renderStringNode
(graph *graphviz.Graph, n *ast.StringNode)
docs/playground/cmd/yaml/main.go:447
↓ 2 callers
Method
replaceMapValue
(value *ast.MappingValueNode, target ast.Node)
path.go:576
↓ 2 callers
Method
setInt32
(addr, v)
docs/playground/src/wasm_exec.js:124
↓ 2 callers
Method
setToMapValue
(ctx context.Context, node ast.Node, m map[string]interface{})
decode.go:133
↓ 2 callers
Method
setToOrderedMapValue
(ctx context.Context, node ast.Node, m *MapSlice)
decode.go:178
↓ 2 callers
Method
startPos
()
ast/ast.go:1191
↓ 2 callers
Method
stringWithoutComment
String node to text without comment
ast/ast.go:207
↓ 2 callers
Function
toGroupedToken
(tk *parser.Token)
docs/playground/cmd/yaml/main.go:139
↓ 2 callers
Function
toNumber
(value string)
token/token.go:580
↓ 2 callers
Method
toString
()
ast/ast.go:1437
↓ 2 callers
Function
tokenMatches
(t *token.Token, e testToken)
lexer/lexer_test.go:2880
↓ 2 callers
Function
tokenToComponent
(tk: Token, nextTk: Token | null)
docs/playground/src/App.tsx:393
↓ 2 callers
Method
validateAnchorValueInMapOrSeq
(value ast.Node, col int)
parser/parser.go:815
↓ 2 callers
Method
validateDocumentSeparatorMarker
(ctx *Context, src []rune)
scanner/scanner.go:594
↓ 2 callers
Method
validateIndentColumn
()
scanner/context.go:166
↓ 2 callers
Method
validateMapKey
(ctx *context, tk *token.Token, keyPath string, colonTk *Token)
parser/parser.go:641
↓ 2 callers
Function
withAnchor
(ctx context.Context, name string)
context.go:22
↓ 2 callers
Method
withIndex
(idx uint)
parser/context.go:91
↓ 1 callers
Function
AllowDuplicateMapKey
AllowDuplicateMapKey allow the use of keys with the same name in the same map, but by default, this is not permitted.
parser/option.go:8
↓ 1 callers
Function
Comment
Comment create node for comment
ast/ast.go:411
↓ 1 callers
Function
Decode
(v string)
docs/playground/cmd/yaml/main.go:70
↓ 1 callers
Method
DecodeFromNodeContext
DecodeFromNodeContext decodes node into the value pointed to by v with context.Context.
decode.go:2019
↓ 1 callers
Function
Directive
(tk *token.Token)
ast/ast.go:499
↓ 1 callers
Method
Dump
()
parser/token.go:125
↓ 1 callers
Method
Dump
Dump outputs token information to stdout for debugging.
token/token.go:837
↓ 1 callers
Method
Dump
Dump dump all token structures for debugging
token/token.go:877
↓ 1 callers
Method
EncodeToNode
EncodeToNode convert v to ast.Node.
encode.go:110
↓ 1 callers
Function
ErrDuplicateKey
ErrDuplicateKey creates an duplicate key error instance with token.
internal/errors/error.go:101
↓ 1 callers
Function
ErrUnknownField
ErrUnknownField creates an unknown field error instance with token.
internal/errors/error.go:109
↓ 1 callers
Method
Filter
Filter filter from target by YAMLPath and set it to v.
path.go:247
↓ 1 callers
Function
FootComment
FootComment create a multiline comment for CommentMap.
option.go:311
↓ 1 callers
Method
FormatError
(colored, inclSource bool)
internal/errors/error.go:136
↓ 1 callers
Method
FormatError
(colored, inclSource bool)
internal/errors/error.go:152
↓ 1 callers
Method
FormatError
(colored, inclSource bool)
internal/errors/error.go:179
↓ 1 callers
Method
FormatError
(colored, inclSource bool)
internal/errors/error.go:195
↓ 1 callers
Method
FormatError
(colored, inclSource bool)
internal/errors/error.go:211
↓ 1 callers
Method
FormatError
(colored, inclSource bool)
internal/errors/error.go:227
↓ 1 callers
Method
GetToken
GetToken returns token instance
ast/ast.go:1391
↓ 1 callers
Method
Init
Init prepares the scanner s to tokenize the text src by setting the scanner at the beginning of src.
scanner/scanner.go:1497
↓ 1 callers
Function
JSON
JSON encode in JSON format
option.go:190
↓ 1 callers
Function
JSONToYAML
JSONToYAML convert JSON bytes to YAML.
yaml.go:254
↓ 1 callers
Function
LineComment
LineComment create a one-line comment for CommentMap.
option.go:295
↓ 1 callers
Function
Literal
(tk *token.Token)
ast/ast.go:506
↓ 1 callers
Function
MappingKey
MappingKey create node for map key ( '?' ).
ast/ast.go:460
↓ 1 callers
Function
MarshalContext
MarshalContext serializes the value provided into a YAML document with context.Context and EncodeOptions.
yaml.go:154
↓ 1 callers
Method
MarshalJSON
()
encode.go:288
↓ 1 callers
Method
MarshalText
()
encode_test.go:1836
↓ 1 callers
Method
MergeFromNode
MergeFromNode merge ast.Node into ast.File.
path.go:319
↓ 1 callers
Method
MergeFromReader
MergeFromReader merge YAML text into ast.File.
path.go:289
↓ 1 callers
Function
Parse
(ctx context.Context, v string)
docs/playground/cmd/yaml/main.go:180
↓ 1 callers
Function
ParseFile
Parse parse from filename, and returns ast.File
parser/parser.go:47
↓ 1 callers
Function
ParseGroup
(v string)
docs/playground/cmd/yaml/main.go:164
↓ 1 callers
Function
PathString
PathString create Path from string YAMLPath rule $ : the root object/element . : child operator .. : recursive descent [num] : object/elem
path.go:27
↓ 1 callers
Method
PrintNode
PrintNode create text from ast.Node
printer/printer.go:148
↓ 1 callers
Method
ReplaceWithReader
ReplaceWithReader replace ast.File with io.Reader.
path.go:331
↓ 1 callers
Method
Scan
Scan scans the next token and returns the token collection. The source end is indicated by io.EOF.
scanner/scanner.go:1517
↓ 1 callers
Function
SequenceMergeValue
SequenceMergeValue creates SequenceMergeValueNode instance.
ast/ast.go:1764
↓ 1 callers
Method
SetGroupType
(typ TokenGroupType)
parser/token.go:118
↓ 1 callers
Function
Space
Space create token for Space
token/token.go:1105
↓ 1 callers
Method
String
String document to text
ast/ast.go:580
↓ 1 callers
Method
String
String returns `null` text
ast/ast.go:629
↓ 1 callers
Method
String
String int64 to text
ast/ast.go:687
↓ 1 callers
Method
String
String float64 to text
ast/ast.go:740
↓ 1 callers
Method
String
String string value to text with quote or literal header if required
ast/ast.go:811
↓ 1 callers
Method
String
String returns '<<' value
ast/ast.go:965
↓ 1 callers
Method
String
String boolean to text
ast/ast.go:1019
↓ 1 callers
Method
String
String infinity to text
ast/ast.go:1071
↓ 1 callers
Method
String
String returns .nan
ast/ast.go:1122
↓ 1 callers
Method
String
String mapping values to text
ast/ast.go:1281
↓ 1 callers
Method
String
String tag to text
ast/ast.go:1338
↓ 1 callers
Method
String
String mapping value to text
ast/ast.go:1420
↓ 1 callers
Method
String
String sequence to text
ast/ast.go:1684
↓ 1 callers
Method
String
String node to text
ast/ast.go:1714
↓ 1 callers
Method
String
String anchor to text
ast/ast.go:1838
↓ 1 callers
Method
String
String alias to text
ast/ast.go:1919
↓ 1 callers
Method
String
String directive to text
ast/ast.go:1968
↓ 1 callers
Method
String
String tag to text
ast/ast.go:2023
↓ 1 callers
Method
String
String comment to text
ast/ast.go:2085
↓ 1 callers
Method
String
String comment to text
ast/ast.go:2124
↓ 1 callers
Method
Struct
(interface{})
validate.go:6
↓ 1 callers
Method
StructField
()
validate.go:12
↓ 1 callers
Function
Tag
(tk *token.Token)
ast/ast.go:513
↓ 1 callers
Method
ToMap
ToMap convert to map[interface{}]interface{}.
yaml.go:80
↓ 1 callers
Method
TokenType
()
parser/token.go:197
↓ 1 callers
Function
Tokenize
(v string)
docs/playground/cmd/yaml/main.go:100
← previous
next →
301–400 of 1,184, ranked by callers