mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-17 20:50: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 //
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
assertEquals("""
|
||||
{"":"foo"}""", JsonUtils.toJson(mapWithNullKey, mapper ->
|
||||
{
|
||||
mapper.getSerializerProvider().setNullKeySerializer(JsonUtils.nullKeyToEmptyStringSerializer);
|
||||
}));
|
||||
{"":"foo"}""", JsonUtils.toJson(mapWithNullKey, mapper -> mapper.getSerializerProvider().setNullKeySerializer(JsonUtils.nullKeyToEmptyStringSerializer)));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user