Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-JSR-3
-
None
-
None
Description
Here are some problems about the string representations of maps, lists, and arrays.
1. The brackets "[" and "]" in the string representation of an array can not be
distinguished from The bracket "[" and "]" in string representation of a list.
So it is better that they are changed to the braces "
2. The braces "{" and "}
" in the string representation of a map is not
the groovy's syntax for map literal.
So it is better that they are changed to the brackets "[" and "]".
3. The representation of string keys or elements are bad.
So it is better that they are enclosed the double quatation marks.
For details, check the attached file.