class Schema(T)

Overview

class Schema to serve as validator for json schema againts a schema given by user

Defined in:

schema.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(schema : T) #

set @schema type to be any


[View source]

Instance Method Detail

def validate(data) #

[View source]