Enable legacy JSON parsing for compatibility with tests
@@ -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()
