
At the moment there is no good way to have new lines ("\n") in JSON files and not to convert the result to a list. In the meanwhile this can be totally expected/required thing to do, for example to define cloud-init vendor data [1] [1] https://cloudinit.readthedocs.io/en/latest/reference/datasources/openstack.html#vendor-data Related-Bug: #2073171 Change-Id: I00d74a26357a8458e38d9eb816a3f3eceeae1e0d
8 lines
236 B
Plaintext
8 lines
236 B
Plaintext
{
|
|
"cloud-init": "#cloud-config\npackage_upgrade: True\npackages:\n - htop",
|
|
"list": [
|
|
"Curious cat investigates",
|
|
"a ball of yarn in sight"
|
|
],
|
|
"string": "Freshly baked cookies\n, waiting to be enjoyed."
|
|
} |