forked from mirror/go-json
Update path.go
This commit is contained in:
parent
9b472af6fa
commit
d8329d56f9
3
path.go
3
path.go
|
@ -16,7 +16,8 @@ import (
|
||||||
// [*] : all objects/elements for array.
|
// [*] : all objects/elements for array.
|
||||||
//
|
//
|
||||||
// Reserved words must be properly escaped when included in Path.
|
// Reserved words must be properly escaped when included in Path.
|
||||||
// Escale Rule
|
//
|
||||||
|
// Escape Rule
|
||||||
// single quote style escape: e.g.) `$['a.b'].c`
|
// single quote style escape: e.g.) `$['a.b'].c`
|
||||||
// double quote style escape: e.g.) `$."a.b".c`
|
// double quote style escape: e.g.) `$."a.b".c`
|
||||||
func CreatePath(p string) (*Path, error) {
|
func CreatePath(p string) (*Path, error) {
|
||||||
|
|
Loading…
Reference in New Issue