json2yaml
json2yaml copied to clipboard
Escape keys containing @
I want to integrate this library into one of my libraries and I came accross this problem:
json2yaml({
'@key': 'Value',
})
Which is valid in json but it generates
@key: value
Which is invalid in yaml.