yajsonschema

package module
v0.0.0-...-210f636 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package yajsonschema (yet another json schema [something]) is a tool which converts a schema written in yaml into a JSON schema (draft 4). i.e. it's primarily an easier way to write json schemas, but you can also use it directly.

However, you can only represent a subest of possible json schema documents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(yamlSchemaReader io.Reader) (map[string]interface{}, error)

Convert processes either 1 or 2 yajsonschema documents accessible via io.Reader, and outputs a json schema.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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