Skip to content

Commit 4bb5fc5

Browse files
authored
Update README.md
1 parent d535050 commit 4bb5fc5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@ U.chain(1, 2, 3) // or java.util.Arrays.asList(1, 2, 3) or new Integer[] {1, 2,
5959
// 4, 3
6060
.forEach(System.out::println);
6161
// 4, 3
62+
63+
U.formatXml("<a><b>data</b></a>");
64+
// <a>
65+
// <b>data</b>
66+
// </a>
67+
68+
U.formatJson("{\"a\":{\"b\":\"data\"}}");
69+
// {
70+
// "a": {
71+
// "b": "data"
72+
// }
73+
// }
6274
```
6375

6476
In addition to porting Underscore's functionality, Underscore-java includes matching unit tests.

0 commit comments

Comments
 (0)