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

Method String

parser.go:738–757  ·  view source on GitHub ↗

SYS-REQ-001

()

Source from the content-addressed store, hash-verified

736
737// SYS-REQ-001
738func (vt ValueType) String() string {
739 switch vt {
740 case NotExist:
741 return "non-existent"
742 case String:
743 return "string"
744 case Number:
745 return "number"
746 case Object:
747 return "object"
748 case Array:
749 return "array"
750 case Boolean:
751 return "boolean"
752 case Null:
753 return "null"
754 default:
755 return "unknown"
756 }
757}
758
759var (
760 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
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
randKeyFunction · 0.36