NAME

YAML::PP::Schema::JSON - YAML 1.2 JSON Schema

SYNOPSIS

    my $yp = YAML::PP->new( schema => ['JSON'] );

DESCRIPTION

With this schema, the resolution of plain values will work like in JSON. Everything that matches a special value will be loaded as such, other plain scalars will be loaded as strings.

https://yaml.org/spec/1.2/spec.html#id2803231

METHODS

register

Called by YAML::PP::Schema

represent_bool, represent_float, represent_int, represent_literal, represent_undef

Functions to represent the several node types.

    represent_bool($representer, $node);