@Test
public void shouldBeLiberalAboutDanglingCommas() throws ParamSerializationException {

    // given
    String json = "{ levels: [ {name: 'level'}, ] }";
    // when
    Parameter parameter = deserializer.deserialize(StringStreamUtil.reader(json));
    // then
    assertThat(parameter).isNotNull().hasLevels(1);
}