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

Method String

parser.go:1027–1046  ·  view source on GitHub ↗

SYS-REQ-001

()

Source from the content-addressed store, hash-verified

1025
1026// SYS-REQ-001
1027func (vt ValueType) String() string {
1028 switch vt {
1029 case NotExist:
1030 return "non-existent"
1031 case String:
1032 return "string"
1033 case Number:
1034 return "number"
1035 case Object:
1036 return "object"
1037 case Array:
1038 return "array"
1039 case Boolean:
1040 return "boolean"
1041 case Null:
1042 return "null"
1043 default:
1044 return "unknown"
1045 }
1046}
1047
1048var (
1049 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