Documentation
¶
Index ¶
- func DumpFMT(v interface{}) string
- func DumpJSON(v interface{}) string
- func DumpJSONSafe(v interface{}) (string, error)
- func DumpXML(v interface{}) string
- func DumpXMLSafe(v interface{}) (string, error)
- func FormatJSON(data []byte) string
- func FormatJSONSafe(data []byte) (string, error)
- func FormatXML(data []byte) string
- func FormatXMLSafe(data []byte) (string, error)
- type XMLFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpJSONSafe ¶
func DumpXMLSafe ¶
func FormatJSON ¶
func FormatJSONSafe ¶
func FormatXMLSafe ¶
Types ¶
type XMLFormatter ¶
type XMLFormatter struct {
// contains filtered or unexported fields
}
func NewXMLFormatter ¶
func NewXMLFormatter(data []byte) *XMLFormatter
func (*XMLFormatter) Format ¶
func (this *XMLFormatter) Format() (string, error)
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
json
Command json performs similar functionality to: alias json='python -m json.tool' Unlike python 2, this script handles unicode nicely.
|
Command json performs similar functionality to: alias json='python -m json.tool' Unlike python 2, this script handles unicode nicely. |
xml
Command XML indents XML from stdin to stdout In general, it adheres to the UNIX philosophy: Simply pipe unformatted XML data to the command and formatted XML comes out.
|
Command XML indents XML from stdin to stdout In general, it adheres to the UNIX philosophy: Simply pipe unformatted XML data to the command and formatted XML comes out. |
Click to show internal directories.
Click to hide internal directories.