JacksonCodecs.java

1
package com.yubico.fido.metadata;
2
3
import com.fasterxml.jackson.databind.DeserializationFeature;
4
import com.fasterxml.jackson.databind.ObjectMapper;
5
6
class JacksonCodecs {
7
8
  static ObjectMapper json() {
9 1 1. json : replaced return value with null for com/yubico/fido/metadata/JacksonCodecs::json → KILLED
    return com.yubico.internal.util.JacksonCodecs.json()
10
        .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
11
  }
12
13
  static ObjectMapper jsonWithDefaultEnums() {
14 1 1. jsonWithDefaultEnums : replaced return value with null for com/yubico/fido/metadata/JacksonCodecs::jsonWithDefaultEnums → KILLED
    return json()
15
        .configure(DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE, true);
16
  }
17
}

Mutations

9

1.1
Location : json
Killed by : com.yubico.fido.metadata.FidoMds3Spec
replaced return value with null for com/yubico/fido/metadata/JacksonCodecs::json → KILLED

14

1.1
Location : jsonWithDefaultEnums
Killed by : com.yubico.fido.metadata.FidoMds3Spec
replaced return value with null for com/yubico/fido/metadata/JacksonCodecs::jsonWithDefaultEnums → KILLED

Active mutators

Tests examined


Report generated by PIT 1.15.0