1JSON::Validator::Ref(3)User Contributed Perl DocumentatioJnSON::Validator::Ref(3)
2
3
4

NAME

6       JSON::Validator::Ref - JSON::Validator $ref representation
7

SYNOPSIS

9         use JSON::Validator::Ref;
10         my $ref = JSON::Validator::Ref->new({ref => "...", schema => {...});
11

DESCRIPTION

13       JSON::Validator::Ref is a class representing a $ref inside a JSON
14       Schema.
15
16       This module SHOULD be considered internal to the JSON::Validator
17       project and the API is subject to change.
18

ATTRIBUTES

20   fqn
21         $str = $ref->fqn;
22
23       The fully qualified version of "ref".
24
25   ref
26         $str = $ref->ref;
27
28       The original $ref from the document.
29
30   schema
31         $hash_ref = $ref->schema;
32
33       A reference to the schema that the "/fqn" points to.
34

SEE ALSO

36       JSON::Validator.
37
38
39
40perl v5.30.1                      2020-02-09           JSON::Validator::Ref(3)
Impressum