File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
arduino-core/src/cc/arduino/contributions Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ private void parseIndex(File indexFile) throws IOException {
7474 mapper .registerModule (new MrBeanModule ());
7575 mapper .configure (DeserializationFeature .ACCEPT_SINGLE_VALUE_AS_ARRAY , true );
7676 mapper .configure (DeserializationFeature .EAGER_DESERIALIZER_FETCH , true );
77- mapper .configure (DeserializationFeature .FAIL_ON_UNKNOWN_PROPERTIES , true );
77+ mapper .configure (DeserializationFeature .FAIL_ON_UNKNOWN_PROPERTIES , false );
7878 index = mapper .readValue (indexIn , LibrariesIndex .class );
7979
8080 for (ContributedLibrary library : index .getLibraries ()) {
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ private void parseIndex(File indexFile) throws IOException {
9898 mapper .registerModule (new MrBeanModule ());
9999 mapper .configure (DeserializationFeature .ACCEPT_SINGLE_VALUE_AS_ARRAY , true );
100100 mapper .configure (DeserializationFeature .EAGER_DESERIALIZER_FETCH , true );
101- mapper .configure (DeserializationFeature .FAIL_ON_UNKNOWN_PROPERTIES , true );
101+ mapper .configure (DeserializationFeature .FAIL_ON_UNKNOWN_PROPERTIES , false );
102102 index = mapper .readValue (indexIn , ContributionsIndex .class );
103103 }
104104
You can’t perform that action at this time.
0 commit comments