json2yaml icon indicating copy to clipboard operation
json2yaml copied to clipboard

Dart package to render JSON data to YAML

Results 8 json2yaml issues
Sort by recently updated
recently updated
newest added

The changes made are: - Strings that end with a colon should be quoted - When a string is quoted, any quotes in the string should be escaped like `\"`

`"abc\"def\""` is converted to `"abc"def""`, but `'abc"def"'` is correct.

* change the json parameter of the json2yaml function to `Object?` * add some collection tests before: ```dart String json2yaml( Map json, { YamlStyle yamlStyle = YamlStyle.generic, }) ``` after:...

`[1, 2, 3]` can't be converted.

I want to integrate this library into one of my libraries and I came accross this problem: ```dart json2yaml({ '@key': 'Value', }) ``` Which is valid in json but it...

Is it possible to remove the `print` from the library?

Loved this package. But some of the json I was trying to transform to yaml was particularly complex. I've added some more options to the formatting to be able to...

nested maps were outputted as default map like this 'yamlKey: {key:value}' now it outputs like yamlKey: key: value