Return the JSON data formatted with two spaces for indents. Chosen to do this since it's the most common case (e.g. with println()). Same as format(2). Use the format() function for more options.
()
| 1613 | * Same as format(2). Use the format() function for more options. |
| 1614 | */ |
| 1615 | @Override |
| 1616 | public String toString() { |
| 1617 | try { |
| 1618 | return format(2); |
| 1619 | } catch (Exception e) { |
| 1620 | return null; |
| 1621 | } |
| 1622 | } |
| 1623 | |
| 1624 | |
| 1625 | /** |
no test coverage detected