Option to use square brackets for arrays instead of dash
See original GitHub issueHi, is there a way to get this:
kibana_hide_apps: ["readonlyrest_kbn", "timelion"]
instead of this:
kibana_hide_apps:
- "readonlyrest_kbn"
- "timelion"
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Property accessors - JavaScript - MDN Web Docs
Property accessors provide access to an object's properties by using the dot notation or the bracket notation.
Read more >The Different Types of Brackets - Grammar Monster
These are square brackets [ ]. They are sometimes called "box brackets." They are used to make quoted text clearer by showing insertions...
Read more >Chapter 8: Arrays Flashcards - Quizlet
Study with Quizlet and memorize flashcards containing terms like You can declare an array variable by placing curly brackets after the array name., ......
Read more >if statement - Are double square brackets [[ ]] preferable over ...
if statement - Are double square brackets [[ ]] preferable over single square brackets [ ] in Bash? - Stack Overflow. Stack Overflow...
Read more >Overview of syntax in YAML - Educative.io
A sequence is represented using square brackets ( [] ). ... Below are some of the key features of YAML that make it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I assume this is for YAML backend. At this point I don’t think there is no
YAMLFeature
for this, although I think SnakeYAML (which is underlying decoder/encoder) should be able to do that – it is difference between “inline” vs “block” notation I think.It would probably make sense to allow selecting this just for arrays (and perhaps another one for Objects), if adding a new feature.
Another possibility would be to allow somehow passing specifically configured SnakeYAML emitter/parser, as this would expose full range of settings.
it remains