public static Value from(JsonIgnoreProperties src) { if (src == null) { return EMPTY; // since 2.9 } return construct(_asSet(src.value()), src.ignoreUnknown(), src.allowGetters(), src.allowSetters(), // 27-Apr-2016, tatu: No matching property in annotation because // we don't know how to merge (so no point in pretending it's there) // so choice is arbitrary. Probably will default to `false` fwtw: false); }
public static Value from(JsonIgnoreProperties src) { if (src == null) { return EMPTY; // since 2.9 } return construct(_asSet(src.value()), src.ignoreUnknown(), src.allowGetters(), src.allowSetters(), // 27-Apr-2016, tatu: No matching property in annotation because // we don't know how to merge (so no point in pretending it's there) // so choice is arbitrary. Probably will default to `false` fwtw: false); }
public static Value from(JsonIgnoreProperties src) { if (src == null) { return EMPTY; } return construct(_asSet(src.value()), src.ignoreUnknown(), src.allowGetters(), src.allowSetters(), // 27-Apr-2016, tatu: No matching property in annotation because // we don't know how to merge (so no point in pretending it's there) // so choice is arbitrary. Probably will default to `false` fwtw: false); }
public static Value from(JsonIgnoreProperties src) { if (src == null) { // should this return EMPTY? return null; } return construct(_asSet(src.value()), src.ignoreUnknown(), src.allowGetters(), src.allowSetters(), // 27-Apr-2016, tatu: No matching property in annotation because // we don't know how to merge (so no point in pretending it's there) // so choice is arbitrary. Probably will default to `false` fwtw: false); }