Closed
Description
I would like to be able to take a json object like this :
{
translation:
{
key: 'this_is_a_key',
value: 'this is a value'
}
}
and output a yml file like this :
- translation :
key: "this_is_a_key"
value: "this is a value"
I've tried several method but was only able to achieve either
- translation :
key: this_is_a_key
value: this is a value
or
- translation :
key: '"this_is_a_key"'
value: '"this is a value"'
note that in the latter this is not three quotes but a single quote followed by a double quote
Is there any way to do this with this module?