exgjson

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MPL-2.0 Imports: 1 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Escaper = strings.NewReplacer(
	`\`, `\\`,
	".", `\.`,
	"|", `\|`,
	"#", `\#`,
	"@", `\@`,
	"*", `\*`,
	"?", `\?`)

Escaper escapes a string for use in a GJSON path.

Functions

func Path

func Path(path ...string) string

Path returns a GJSON path pointing at a nested object, with each provided string being a key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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