Open vinodkolla opened 6 years ago
I am using yaml-js to auto-format the yaml files. I have a big JSON file with chunks of objects in it. When i convert them to YAML format, i want to add space after each json object. Example:
{ person1: { name: "Foo" }, person2: { name: "Bar" } }
When this is converted to YAML, it formats as
person1: name: "Foo" person2: name: "Bar"
Expected output is :
I am using yaml-js to auto-format the yaml files. I have a big JSON file with chunks of objects in it. When i convert them to YAML format, i want to add space after each json object. Example:
When this is converted to YAML, it formats as
Expected output is :