@Test public void testDeserializePlain() throws Exception { final AttributeSort attributeSort = OBJECT_MAPPER.readValue("\"pk\"", AttributeSort.class); assertThat(attributeSort, is(notNullValue())); assertThat(attributeSort.getValue(), is("pk")); }
String getValue() { return value; }
AttributeSort implements Serializable { String getValue() { return value; } }
AttributeSort implements Serializable { String getValue() { return value; } AttributeSort(String value);   AttributeSort(String value, boolean linkType); }
AttributeSort implements Serializable { String getValue() { return value; } AttributeSort(String value);   AttributeSort(String value, boolean linkType); @Override String toString(); }
AttributeSort implements Serializable { String getValue() { return value; } AttributeSort(String value);   AttributeSort(String value, boolean linkType); @Override String toString();  }