Documentation ¶
Overview ¶
Package json add some json-related commands to the command loop.
The new commands are:
json : creates a json object out of key/value pairs or lists jsonpath : parses a json object and extract specified fields format : pretty-print specified json object
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Plugin = &jsonPlugin{}
)
Functions ¶
func PrintJson ¶
func PrintJson(v interface{})
Function PrintJson prints the specified object formatted as a JSON object
func StringJson ¶
Function StringJson return the specified object as a JSON string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.