YAML / scalar / coercion boundary

Review YAML implicit scalar types

Review boolean-like, date-like, numeric, quoted and null scalars as different boundaries. This is a conservative review guide, not a claim about one parser.

Scalar review boundaries

Plain YAML scalars may be interpreted differently by implementations and schemas. Review quoting and the receiver’s type separately.

plain scalar → type review → explicit quote
caseWhat to review
boolean-likeReview yes/no and true/false-like values as boolean candidates.
date-likeReview date-looking text as a possible date value.
leading-zero-numberReview leading-zero values as strings before numeric conversion.
quoted-stringUse quoting to make string intent explicit.
explicit-nullSeparate explicit null from an omitted value.

Review order

  1. Separate plain scalars from quoted strings.
  2. Record boundaries that look boolean, date-like or numeric.
  3. Check the schema and receiver type separately.
  4. Return ambiguous values for confirmation instead of guessing.

This page uses synthetic fixtures only. There is no upload, external request, storage, or parser guarantee.