jsonschema

package
v0.0.0-...-b49a6ba Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotImplemented means schema.FieldValidator type is not implemented
	ErrNotImplemented = errors.New("Schema not Implemented")
)

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	io.Writer
}

Encoder encodes schema.Schema into a JSONSchema

func NewEncoder

func NewEncoder(w io.Writer) *Encoder

NewEncoder returns a new JSONSchema Encoder.

func (*Encoder) Encode

func (e *Encoder) Encode(s *schema.Schema) error

Encode is take schema and writes to Writer

Jump to

Keyboard shortcuts

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