json

package
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package json provides an encoder/decoder for JSON quad formats

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(r io.Reader) *Reader

func (*Reader) Close

func (r *Reader) Close() error

func (*Reader) ReadQuad

func (r *Reader) ReadQuad() (quad.Quad, error)

type StreamReader

type StreamReader struct {
	// contains filtered or unexported fields
}

func NewStreamReader

func NewStreamReader(r io.Reader) *StreamReader

func (*StreamReader) Close

func (r *StreamReader) Close() error

func (*StreamReader) ReadQuad

func (r *StreamReader) ReadQuad() (quad.Quad, error)

type StreamWriter

type StreamWriter struct {
	// contains filtered or unexported fields
}

func NewStreamWriter

func NewStreamWriter(w io.Writer) *StreamWriter

func (*StreamWriter) Close

func (w *StreamWriter) Close() error

func (*StreamWriter) WriteQuad

func (w *StreamWriter) WriteQuad(q quad.Quad) error

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(w io.Writer) *Writer

func (*Writer) Close

func (w *Writer) Close() error

func (*Writer) WriteQuad

func (w *Writer) WriteQuad(q quad.Quad) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL