Catmandu::Fix::Condition::valid(3pm)

Catmandu::Fix::Condition::valid3pm

Execute fixes if the data passes validation

Usage

    # reject all items not conforming to a schema
    select valid('', JSONSchema, schema: "my/schema.json")
    # check the author field
    unless valid(author, JSONSchema, schema: "my/author.schema.json")
       ... # repair or give warning
    end

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

From libcatmandu-perl 1.2024-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.