Documentation
¶
Overview ¶
Package jsonpath holds utilities for working with JSON path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicJSONPathResolver ¶
type DynamicJSONPathResolver struct {
// contains filtered or unexported fields
}
DynamicJSONPathResolver is entity that has ability to obtain data from JSON from given expression. Entity knows how to determine whether expression matches https://github.com/pawelWritesCode/qjson or https://github.com/oliveagle/jsonpath syntax
func NewDynamicJSONPathResolver ¶
func NewDynamicJSONPathResolver(qjson QJSONResolver, oliveagleJSONpath OliveagleJSONpath) *DynamicJSONPathResolver
type OliveagleJSONpath ¶
type OliveagleJSONpath struct{}
OliveagleJSONpath represents implementation of JSON path from https://github.com/oliveagle/jsonpath library
func NewOliveagleJSONpath ¶
func NewOliveagleJSONpath() OliveagleJSONpath
type QJSONResolver ¶
type QJSONResolver struct{}
QJSONResolver represents implementation of JSON path from https://github.com/pawelWritesCode/qjson library
func NewQJSONResolver ¶
func NewQJSONResolver() QJSONResolver
Click to show internal directories.
Click to hide internal directories.