### Question:
TagsMixin { @JsonAnyGetter public abstract Map<String, String> getValues();  @JsonCreator static Tags from(Map<String, ?> map); @JsonAnyGetter abstract Map<String, String> getValues();  }### Answer:
@Test public void verifyDeserialize() throws JSONException, JsonProcessingException { String json = new JSONObject().put("env", "test").put("foo", "bar").toString(); Tags tags = objectMapper.readValue(json, Tags.class); assertThat(tags).isNotNull(); assertThat(tags.getValues()).containsOnly(entry("env", "test"), entry("foo", "bar")); }