mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Checkstyle!
This commit is contained in:
@ -340,10 +340,7 @@ class JsonUtilsTest extends BaseTest
|
|||||||
// assert that the nullKeyToEmptyStringSerializer does what we expect //
|
// assert that the nullKeyToEmptyStringSerializer does what we expect //
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
assertEquals("""
|
assertEquals("""
|
||||||
{"":"foo"}""", JsonUtils.toJson(mapWithNullKey, mapper ->
|
{"":"foo"}""", JsonUtils.toJson(mapWithNullKey, mapper -> mapper.getSerializerProvider().setNullKeySerializer(JsonUtils.nullKeyToEmptyStringSerializer)));
|
||||||
{
|
|
||||||
mapper.getSerializerProvider().setNullKeySerializer(JsonUtils.nullKeyToEmptyStringSerializer);
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user