Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONPathEngine ¶
type JSONPathEngine struct{}
func NewJSONPathEngine ¶
func NewJSONPathEngine() *JSONPathEngine
func (*JSONPathEngine) ExtractFields ¶
func (e *JSONPathEngine) ExtractFields(jsonStr string, fields []string) (map[string]interface{}, error)
func (*JSONPathEngine) FilterByKeys ¶
func (e *JSONPathEngine) FilterByKeys(jsonStr string, keepKeys []string) (string, error)
func (*JSONPathEngine) Query ¶
func (e *JSONPathEngine) Query(jsonStr, path string) (*JSONPathResult, error)
type JSONPathResult ¶
Click to show internal directories.
Click to hide internal directories.