{"modulePath":"github.com/theory/jsonpath","version":"v0.13.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package parser\n\nPackage parser parses RFC 9535 JSONPath queries into parse trees. Most JSONPath users will use package [github.com/theory/jsonpath](/github.com/theory/jsonpath) instead of this package.\n\n## Variables\n\n```go\nvar ErrPathParse = errors.New(\"jsonpath\")\n```\nErrPathParse errors are returned for path parse errors.\n\n## Functions\n\n```go\nfunc Parse(reg *registry.Registry, path string) (*spec.PathQuery, error)\n```\nParse parses path, a JSONPath query string, into a [spec.PathQuery](/github.com/theory/jsonpath/spec#PathQuery). Returns a [ErrPathParse](#ErrPathParse) on parse failure.\n\n","path":"github.com/theory/jsonpath/parser","name":"parser","synopsis":"Package parser parses RFC 9535 JSONPath queries into parse trees.","isRedistributable":true}
