MCPcopy Create free account
hub / github.com/buger/jsonparser / String

Method String

parser.go:1100–1119  ·  view source on GitHub ↗

SYS-REQ-001

()

Source from the content-addressed store, hash-verified

1098
1099// SYS-REQ-001
1100func (vt ValueType) String() string {
1101 switch vt {
1102 case NotExist:
1103 return "non-existent"
1104 case String:
1105 return "string"
1106 case Number:
1107 return "number"
1108 case Object:
1109 return "object"
1110 case Array:
1111 return "array"
1112 case Boolean:
1113 return "boolean"
1114 case Null:
1115 return "null"
1116 default:
1117 return "unknown"
1118 }
1119}
1120
1121var (
1122 trueLiteral = []byte("true")

Callers 15

crashSignatureFunction · 0.45
recordPathCrashFunction · 0.45
TestKeyDepthFunction · 0.45
TestKeyCountFunction · 0.45
TestKeyDepthArrayFunction · 0.45
TestKeyCountArrayFunction · 0.45
TestEachKeyArrayFunction · 0.45
TestLargeArrayFunction · 0.45
TestArrayOutOfBoundsFunction · 0.45
testEachKeyPathDepthFunction · 0.45
randKeyFunction · 0.45

Calls

no outgoing calls

Tested by 15

crashSignatureFunction · 0.36
recordPathCrashFunction · 0.36
TestKeyDepthFunction · 0.36
TestKeyCountFunction · 0.36
TestKeyDepthArrayFunction · 0.36
TestKeyCountArrayFunction · 0.36
TestEachKeyArrayFunction · 0.36
TestLargeArrayFunction · 0.36
TestArrayOutOfBoundsFunction · 0.36
testEachKeyPathDepthFunction · 0.36
randKeyFunction · 0.36