Skip to content

Add support for YAML 1.2 non-finite (Infinite, -Infinite, NaN) numbers, Octal notation #623

@mjcarman

Description

@mjcarman

The YAML 1.2 specification brings YAML into compliance with JSON as an official subset (via the JSON schema). It also fixes many of the ambiguities in YAML 1.1; e.g. the "Norway problem" (via the core schema).

I'd like to be able to use YAML 1.2 with Jackson. More specifically, I'd like to be able to validate documents using the YAML 1.2 core schema via networknt json-schema-validator, which depends on Jackson for its YAML support, which in turn depends on snakeyaml, which only supports YAML 1.1. Its sister (replacement?) project snakeyaml-engine is a YAML 1.2 parser. It's not clear to me if snakeyaml-engine also fully supports YAML 1.1, and thus not clear if Jackson could replace snakeyaml with snakeyaml-engine or would need to support both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    yamlIssue related to YAML format backend

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions