JSON::Validator::Ref - JSON::Validator $ref representation
use JSON::Validator::Ref; my $ref = JSON::Validator::Ref->new({ref => "...", schema => {...});
JSON::Validator::Ref is a class representing a $ref inside a JSON Schema.
$ref
Note that this module should be considered internal to the JSON::Validator project and the API is subject to change.
This class is currently EXPERIMENTAL and can be replaced if a bug is discovered, without any warning.
$str = $self->fqn;
The fully qualified version of "ref".
$str = $self->ref;
The original $ref from the document.
$hash_ref = $self->schema;
A reference to the schema that the /fqn points to.
/fqn
JSON::Validator.
To install JSON::Validator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSON::Validator
CPAN shell
perl -MCPAN -e shell install JSON::Validator
For more information on module installation, please visit the detailed CPAN module installation guide.