JSON::Validator::Ref(3pm)

JSON::Validator::Ref3pm

Json::validator $ref representation

Usage

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

or:

  tie my %ref, 'JSON::Validator::Ref', $schema, $path;

Overview

JSON::Validator::Ref is a class representing a $ref inside a JSON Schema.

This module SHOULD be considered internal to the JSON::Validator project and the API is subject to change.

Attributes

fqn

  $str = $ref->fqn;

The fully qualified version of "ref".

ref

  $str = $ref->ref;

The original $ref from the document.

schema

  $hash_ref = $ref->schema;

A reference to the schema that the "/fqn" points to.

Releases

2 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11

From libjson-validator-perl 4.14+dfsg-1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.