Skip to content

croservices/json-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

JSON::Schema - an implementation of the JSON Schema specification

SYNOPSIS

use JSON::Schema;
my $schema = JSON::Schema.new(
    schema => from-json '{ "type": "string" }'
);

# Validate it and use the result as a boolean.
say so $schema.validate("foo");     # True
say so $schema.validate(42);        # False
say so $schema.validate(Str);       # False

DESCRIPTION

JSON::Schema is a module which allows JSON validation with set of rules described in JSON Schema format.

AUTHOR

Alexander Kiryuhin [email protected]

COPYRIGHT AND LICENSE

Copyright © Alexander Kiryuhin [email protected]

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages