Documentation
¶
Index ¶
Constants ¶
View Source
const JsonparserValueType_ByteArray = 5
View Source
const JsonparserValueType_Float64 = 4
View Source
const JsonparserValueType_Int = 3
View Source
const JsonparserValueType_Int64 = 2
View Source
const JsonparserValueType_UnsafeString = 1
Variables ¶
This section is empty.
Functions ¶
func BytesAsString ¶
func StringAsBytes ¶
Types ¶
type JsonparserResult ¶
func MakeJsonparserResult ¶
func MakeJsonparserResult(paths [][]string, idx int, value []byte, vt jsonparser.ValueType, err error) JsonparserResult
func (JsonparserResult) GetFloatOrZero ¶
func (t JsonparserResult) GetFloatOrZero() float64
func (JsonparserResult) GetInt64OrZero ¶
func (t JsonparserResult) GetInt64OrZero() int64
func (JsonparserResult) GetIntOrZero ¶
func (t JsonparserResult) GetIntOrZero() int
func (JsonparserResult) GetUnsafeStringOrEmpty ¶
func (t JsonparserResult) GetUnsafeStringOrEmpty() string
type JsonparserValue ¶
func ByteArrayValue ¶
func ByteArrayValue(p uintptr) JsonparserValue
func Float64Value ¶
func Float64Value(p uintptr) JsonparserValue
func Int64Value ¶
func Int64Value(p uintptr) JsonparserValue
func IntValue ¶
func IntValue(p uintptr) JsonparserValue
func UnsafeStringValue ¶
func UnsafeStringValue(p uintptr) JsonparserValue
type Parser ¶
type Parser struct {
Path []string
Value JsonparserValue
}
Click to show internal directories.
Click to hide internal directories.