Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Request) Any way to generate "square bracket" arrays rather than lists? #155

Open
humblecoder opened this issue Jan 1, 2023 · 1 comment

Comments

@humblecoder
Copy link

It's quite possible I've missed something in the documentation, but when working with arrays, it would be nice to be able to control square bracket generation:

key1: [value1,value2,value3,value4,value5]

vs list generation:

key1:
  - value1
  - value2
  - value3
  - value4
  - value5
@webketje
Copy link

What benefit do you perceive in this? Readability is no doubt better when the list is expanded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants