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

Add built in support for inline arrays #48

Open
archietse opened this issue Nov 16, 2023 · 1 comment
Open

Add built in support for inline arrays #48

archietse opened this issue Nov 16, 2023 · 1 comment

Comments

@archietse
Copy link

Maybe something like this:

{myObject}
key: value
arrayKey: value1, value2, value3
{}

We would need to devise a syntax for indicating the the "arrayKey" is not a normal key-value pair, but a list of items separated by commas.

@thatrobert
Copy link

thatrobert commented Nov 26, 2023

Does it need to be inline? It would be more consistent to treat arrays inside properties as bulleted lists:

{myObject}
key: value
arrayKey:
* value1
* value2
* value3
{}

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