### Question:
SchemaField { public static Builder builder() { return builder(null); } SchemaField(
            @JsonProperty("name") String name,
            @JsonProperty("type") SchemaFieldType type,
            @JsonProperty("defaultValue") Object defaultValue,
            @JsonProperty("defaultValuePresent") boolean defaultValuePresent,
            @JsonProperty("nativeDoc") String nativeDoc,
            @JsonProperty("metadata") FormattedMetadata metadata); String getName(); SchemaFieldType getType(); Object getDefaultValue(); boolean isDefaultValuePresent(); String getNativeDoc(); FormattedMetadata getMetadata(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); Builder toBuilder(); static Builder builder(); static Builder builder(SchemaField field);  }### Answer:
@Test public void testSerializedToJsonAndBack() throws Exception { SchemaFieldType origin = PrimitiveSchemaFieldType.builder() .type(Schema.Type.STRING) .build(); String json = JsonMapper.toJson(origin); Assert.assertNotNull(json); SchemaFieldType deserialized = JsonMapper.jsonToObject(json, SchemaFieldType.class); Assert.assertNotNull(deserialized); Assert.assertEquals(origin, deserialized); }