@@ -0,0 +1,881 @@
+package parquet.thrift.struct;%0A%0Aimport org.codehaus.jackson.map.ObjectMapper;%0Aimport org.junit.Test;%0Aimport parquet.thrift.ThriftSchemaConverter;%0A%0Aimport java.io.File;%0A%0Aimport static junit.framework.Assert.assertEquals;%0A%0A%0Apublic class CompatibilityCheckerTest %7B%0A%0A  @Test%0A  public void testSaveJSON() throws Exception%7B%0A    ThriftType.StructType expected = new ThriftSchemaConverter().toStructType(parquet.thrift.test.TestPersonWithRequiredPhone.class);%0A    ObjectMapper mapper = new ObjectMapper();%0A    mapper.writeValue(new File(%22oh_yeah.json%22),expected);%0A    ThriftType readResult=mapper.readValue(new File(%22oh_yeah.json%22),ThriftType.StructType.class);%0A    assertEquals(expected,readResult);%0A  %7D%0A  @Test%0A  public void testReadJson() throws Exception%7B%0A    ObjectMapper mapper = new ObjectMapper();%0A    mapper.readValue(new File(%22oh_yeah.json%22),ThriftType.StringType.class);%0A%0A  %7D%0A%7D%0A

add test