Versions in this module Expand all Collapse all v2 v2.0.0 Apr 19, 2023 Changes in this version + func Valid(json string) bool + func ValidBytes(json []byte) bool + type Iterator struct + func (it *Iterator) Key() Result + func (it *Iterator) Next() bool + func (it *Iterator) Value() Result + type Result struct + Index int + Num float64 + Raw string + Str string + Type Type + func Get(json, pointer string) Result + func GetBytes(json []byte, path string) Result + func GetMany(json string, path ...string) []Result + func GetManyBytes(json []byte, path ...string) []Result + func Parse(json string) Result + func ParseBytes(json []byte) Result + func (t Result) Array() []Result + func (t Result) Bool() bool + func (t Result) Exists() bool + func (t Result) Float() float64 + func (t Result) ForEach(iterator func(key, value Result) bool) + func (t Result) Get(path string) Result + func (t Result) Int() int64 + func (t Result) IsArray() bool + func (t Result) IsBool() bool + func (t Result) IsObject() bool + func (t Result) Len() int + func (t Result) Less(token Result, caseSensitive bool) bool + func (t Result) Map() map[string]Result + func (t Result) Range() *Iterator + func (t Result) String() string + func (t Result) Time() time.Time + func (t Result) Uint() uint64 + func (t Result) Value() interface{} + type Type int + const False + const JSON + const Null + const Number + const String + const True + func (t Type) String() string Other modules containing this package github.com/pgavlin/jp github.com/pgavlin/jp/v3