Skip to content

Commit 4c49877

Browse files
committed
Update README
1 parent 213b27d commit 4c49877

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
JSONassert
2+
==========
3+
14
Write JSON unit tests faster and with less code. Great for testing REST interfaces.
25

36
Write and maintain this:
47

58
String expected ="{fans:[{id:123,name:\"Corby Page\"},{id:456,name:\"Carter Page\"}]}";
69
JSONAssert.assertEquals(expected, data, false);
710

8-
Instead of this:
11+
NOT this:
912

1013
Assert.assertTrue(data.has("fans"));
1114
Object fansObject = data.get("fans");

0 commit comments

Comments
 (0)