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

Method String

parser.go:758–777  ·  view source on GitHub ↗

SYS-REQ-001

()

Source from the content-addressed store, hash-verified

756
757// SYS-REQ-001
758func (vt ValueType) String() string {
759 switch vt {
760 case NotExist:
761 return "non-existent"
762 case String:
763 return "string"
764 case Number:
765 return "number"
766 case Object:
767 return "object"
768 case Array:
769 return "array"
770 case Boolean:
771 return "boolean"
772 case Null:
773 return "null"
774 default:
775 return "unknown"
776 }
777}
778
779var (
780 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