TOML से YAML कन्वर्टर
Example
Input:
title = "Demo" [owner] name = "Ali"
Output:
title: Demo owner: name: Ali
इस converter के बारे में
Reverse migration — TOML configs YAML ecosystems की ओर (GitHub Actions matrices, Kubernetes-adjacent tooling, Ansible)। Converter TOML parse करता है (tables, dotted keys, array tables, inline tables, typed scalars और datetimes-as-strings) और writer की quoting discipline से YAML render करता है, इसलिए वे strings जिन्हें YAML ग़लत पढ़ेगा (yes, 012, strings जिनमें :) हैं) protected हैं। Data के बारे में कुछ नहीं बदलता; सिर्फ़ notation बदलती है।
अक्सर पूछे जाने वाले सवाल
Datetimes कैसे render होती हैं?
YAML में ISO strings के रूप में — YAML timestamps एक विकल्प होते, लेकिन strings हर जगह समान round-trip करती हैं।
क्या comments सुरक्षित रहती हैं?
नहीं — ज़्यादातर format converters की तरह, comments नहीं बचते; डेटा और structure बचते हैं।