Closed davidkarlsen closed 8 years ago
@szpak Any chance you could push out a release containing this?
You need to make a pull request first - https://help.github.com/articles/using-pull-requests/
@szpak I've already made a pull request: https://github.com/Codearte/props2yaml/pull/15 - and it has already been merged too: https://github.com/Codearte/props2yaml/commit/5c1ba130c352c601a05f9fc9aaeb18fdca94a449
I see. It was merged by @mariuszs and I missed it :). I will talk to Mariusz about the release - unfortunately in this our project it is not done automatically (yet).
Given two properties:
it will be converted to:
while it should be:
The problem is that TreeBuilder.applyArrayNotation is applied unconditionally as array indexes. This should probably be configurable - in my case they are not array indexes, but keys.