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

Method String

parser.go:990–1009  ·  view source on GitHub ↗

SYS-REQ-001

()

Source from the content-addressed store, hash-verified

988
989// SYS-REQ-001
990func (vt ValueType) String() string {
991 switch vt {
992 case NotExist:
993 return "non-existent"
994 case String:
995 return "string"
996 case Number:
997 return "number"
998 case Object:
999 return "object"
1000 case Array:
1001 return "array"
1002 case Boolean:
1003 return "boolean"
1004 case Null:
1005 return "null"
1006 default:
1007 return "unknown"
1008 }
1009}
1010
1011var (
1012 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