validator package - github.com/Omochice/json-schema-validator - Go Packages

validator

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: Zlib Imports: 5 Imported by: 0

README

JSON Schema Validator

A small tool that validates JSON files by their $schema field.

[!WARNING] Currently this tool is my hobby project and under development.

License

zlib

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateJSONSchema

func ValidateJSONSchema(filePath string, ignoreNonSchema bool) error

Varidate some json file with schema that its included throw error if file not have schema field or mismatch with schema

filePath path to json file ignoreNonSchema if true, ignore file that not have schema field

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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