-
Notifications
You must be signed in to change notification settings - Fork 26
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 support for List, Set and Map attributes #108
Comments
I guess we should add consistent printing and parsing for these types too. I guess we could use the following syntaxes: For lists => Same as arrays ([1, 2, 3, 2, 1]) |
I agree, can you help with this as you're the most familiar with the print/parsing code. Only simple types are allowed as values of these collections. However, it's allowed to mix different types within a list or a set so I'm not sure how we would proceed for parsing. |
Yeah I was thinking to do it myself. If the value type is not known, I guess we should infer it for each value to a few types: null, String, long (BigInteger if too big) or double (BigDecimal if too big). Same for the key or only Strings are allowed? |
I finally restricted the lists to a unique type, no mixed types. For maps, keys should only be simple types (Double, Float, Long, Int, Boolean, String etc.) I'm gonna create another issue btw about print/parse and close this one. |
Great, I will assign #117 to me |
No description provided.
The text was updated successfully, but these errors were encountered: