Package org.exoplatform.ws.frameworks.json

Examples of org.exoplatform.ws.frameworks.json.BeanWithTransientField


      // System.out.println(jsonValue);
   }

   public void testBeanTransientField() throws Exception
   {
      BeanWithTransientField trBean = new BeanWithTransientField();
      JsonValue jsonValue = new JsonGeneratorImpl().createJsonObject(trBean);
      assertEquals("visible", jsonValue.getElement("field").getStringValue());
      assertNull(jsonValue.getElement("transientField"));
   }
View Full Code Here


         jsonValue.getElement("mapList").getElement("3").getElements().next().getElement("title").getStringValue());
   }

   public void testBeanTransientField() throws Exception
   {
      BeanWithTransientField trBean = new BeanWithTransientField();
      JsonValue jsonValue = new JsonGeneratorImpl().createJsonObject(trBean);
      assertEquals("visible", jsonValue.getElement("field").getStringValue());
      assertNull(jsonValue.getElement("transientField"));
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.ws.frameworks.json.BeanWithTransientField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.