parser

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package parser parses RFC 9535 JSONPath queries into parse trees. Most JSONPath users will use package github.com/theory/jsonpath instead of this package.

Index

Constants

This section is empty.

Variables

View Source
var ErrPathParse = errors.New("jsonpath")

ErrPathParse errors are returned for path parse errors.

Functions

func Parse

func Parse(reg *registry.Registry, path string) (*spec.PathQuery, error)

Parse parses path, a JSONPath query string, into a spec.PathQuery. Returns a ErrPathParse on parse failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL