jsonschema

package
v1.11.5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(fileName string, input string) error

Validate validates the input argument against JSON schema. If the input is not valid the error is returned. The first argument is the file name of the JSON schema. It is used to build file URI required to load the JSON schema. The second argument is the input string that is validated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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