Choose YAML to JSON and enter a comment followed by "tasks": with two sequence items, each containing quoted "id", "title" and "done" keys. Convert with four spaces. The comment is omitted because JSON has no comment value; list order and boolean types remain exact.

Observe the rejected variant

If the second item replaces done: false with done: yes, the JSON-schema profile rejects yes instead of guessing that it means true or a string. If an anchor and alias are added, conversion also stops until the values are written explicitly.

The destination parser is authoritative

Keep the original, diff the complete output and parse the result with the exact library or application that will consume it. JSONYAML proves only that one bounded document fits its declared JSON-compatible profile. It does not validate a destination schema, environment substitution, application defaults, deployment behavior or semantic correctness.