1

Update README.md

This commit is contained in:
2025-10-21 08:45:10 +00:00
parent 87e82820cf
commit f32c832584

View File

@@ -36,7 +36,7 @@ JsonAssert.assertThat(JSON).field("bigdecimal").asBigDecimal().isEqualTo(BigDeci
JsonAssert.assertThat(JSON).field("myprop").matches("foo.*")
// Assert first property in Object matches
JsonAssert.assertThat(JSON).firstField("lastProp").isEqualTo(1);
JsonAssert.assertThat(JSON).firstField("firstProp").isEqualTo(1);
// Assert last property in Object matches
JsonAssert.assertThat(JSON).lastField("lastProp").isEqualTo(3);