Validate, beautify, sort keys and convert YAML to JSON — with error-line location and local memory豆包在线回答
• Format & Validate: parse and re-indent YAML to canonical form, pinpointing the failing line.
• Sort keys: recursively sort mapping keys ascending / descending.
• To JSON: parse YAML into the equivalent JSON.
• Memory: when on, your last input is saved to local storage.