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
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
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
36 JSON::Validator.
37
38
39
40perl v5.30.0 2019-08-11 JSON::Validator::Ref(3)