Make a JSON text of this JSONArray. For compactness, no unnecessary whitespace is added. If it is not possible to produce a syntactically correct JSON text then null will be returned instead. This could occur if the array contains an invalid number. Warning: This method assumes that the data str
()
| 816 | * representation of the array. |
| 817 | */ |
| 818 | @Override |
| 819 | public String toString() { |
| 820 | try { |
| 821 | return '[' + join(",") + ']'; |
| 822 | } catch (Exception e) { |
| 823 | return null; |
| 824 | } |
| 825 | } |
| 826 | |
| 827 | |
| 828 | /** |