1JSON::Validator::Ref(3)User Contributed Perl DocumentatioJnSON::Validator::Ref(3)
2
3
4
6 JSON::Validator::Ref - JSON::Validator $ref representation
7
9 use JSON::Validator::Ref;
10 my $ref = JSON::Validator::Ref->new({ref => "...", schema => {...});
11
12 or:
13
14 tie my %ref, 'JSON::Validator::Ref', $schema, $path;
15
17 JSON::Validator::Ref is a class representing a $ref inside a JSON
18 Schema.
19
20 This module SHOULD be considered internal to the JSON::Validator
21 project and the API is subject to change.
22
24 fqn
25 $str = $ref->fqn;
26
27 The fully qualified version of "ref".
28
29 ref
30 $str = $ref->ref;
31
32 The original $ref from the document.
33
34 schema
35 $hash_ref = $ref->schema;
36
37 A reference to the schema that the "/fqn" points to.
38
40 JSON::Validator.
41
42
43
44perl v5.32.1 2021-01-31 JSON::Validator::Ref(3)