DefaultExternalFilter (IonReader reader) { if (reader.next() == null) return null; DefaultExternalFilter filter = new DefaultExternalFilter(); reader.stepIn(); filter.setFilterType(assertNotNull(readString(reader, "filterType"))); filter.setPropertiesAsJsonMap(assertNotNull(readString(reader, "propertiesAsJsonMap"))); reader.stepOut(); return filter; }