Enable legacy JSON parsing for compatibility with tests
This commit is contained in:
parent
cb2bbbf801
commit
bca832ed03
@ -59,6 +59,7 @@ import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.json.JSONTokener;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonParser;
|
||||
import com.fasterxml.jackson.core.JsonFactory;
|
||||
import com.fasterxml.jackson.core.JsonGenerator;
|
||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
@ -86,6 +87,7 @@ public class ParsingUtilities {
|
||||
|
||||
mapper.registerModule(module);
|
||||
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||
mapper.configure(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, true);
|
||||
}
|
||||
|
||||
public static final FilterProvider defaultFilters = new SimpleFilterProvider()
|
||||
|
Loading…
Reference in New Issue
Block a user