Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path struct {
// Name is the JSON path name.
Name string
// Default is the default value of that path.
Default interface{}
// Type is a prototype (e.g. float64(0)) of the path type.
Type interface{}
}
Path represents a JSON Schema Path.
func ListPaths ¶
ListPaths lists all paths of a JSON Schema. Will return an error if circular dependencies are found.
func ListPathsBytes ¶
ListPathsBytes lists all paths of a JSON Schema (typed as []byte). Will return an error if circular dependencies are found.
Click to show internal directories.
Click to hide internal directories.