Documentation ¶
Index ¶
Constants ¶
View Source
const (
JSONPathPrefix string = "jsonpath::"
)
Variables ¶
View Source
var (
ErrInvalidJSONPath = fmt.Errorf("invalid JSONPath")
)
Functions ¶
func NewJSONPathFromString ¶
Types ¶
type IntOrPath ¶
func (*IntOrPath) UnmarshalJSON ¶
type Path ¶
type Path struct {
// contains filtered or unexported fields
}
func NewOrPanic ¶
func (*Path) MarshalJSON ¶
func (*Path) UnmarshalJSON ¶
type StringOrPath ¶
func (*StringOrPath) IsString ¶
func (r *StringOrPath) IsString() bool
func (*StringOrPath) UnmarshalJSON ¶
func (r *StringOrPath) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.