-
Is it possible to transform yml file to properties with empty arrays and complex objects? Actual yml file in question is pretty complex, referencing elements defined in other parts of the same file. Thank you in advance. Description of the problem: test.yml a:
simpleValue: 1
arrayOfReferences: [ONE, TWO]
complexReferences: {first: THREE, second: FOUR}
simpleEmptyValue:
arrayOfSimpleReferences: []
complexEmptyReferences: {} How I use yq:
For simple values it actually works ok, see a.simpleEmptyValue below
I would expect the following. Is this possible to achieve, or is this a bug / feature request or even intended feature?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yep that can be done - I'm struggling to find a reference for what the conventions are for property files, do you have any references to back this up? |
Beta Was this translation helpful? Give feedback.
Yep that can be done - I'm struggling to find a reference for what the conventions are for property files, do you have any references to back this up?