Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONStreamWriter ¶
type JSONStreamWriter struct {
// contains filtered or unexported fields
}
JSONStreamWriter writes tokens as parsed by a json.Decoder back to a string
func NewJSONStreamWriter ¶
func NewJSONStreamWriter(out io.Writer) *JSONStreamWriter
NewJSONStreamWriter is the constructor for a JSONStreamWriter
func (*JSONStreamWriter) Path ¶
func (j *JSONStreamWriter) Path() string
Path returns the path to the current position in the JSON tree
func (*JSONStreamWriter) WriteToken ¶
func (j *JSONStreamWriter) WriteToken(token json.Token) error
WriteToken writes the next token to the output
Click to show internal directories.
Click to hide internal directories.