Versions in this module Expand all Collapse all v1 v1.1.0 Jul 26, 2019 v1.0.0 Jul 17, 2019 Changes in this version + func Allowable(pattern string) (min, max string) + func ForEachLine(json string, iterator func(line Result) bool) + func IsPattern(str string) bool + func Match(str, pattern string) bool + func Unmarshal(data []byte, v interface{}) error + func UnmarshalValidationEnabled(enabled bool) + func Valid(json string) bool + func ValidBytes(json []byte) bool + type Result struct + Index int + Num float64 + Raw string + Str string + Type Type + func Get(json, path 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) IsObject() bool + func (t Result) Less(token Result, caseSensitive bool) bool + func (t Result) Map() map[string]Result + 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