Package br.com.caelum.vraptor.serialization.gson.adapters

Examples of br.com.caelum.vraptor.serialization.gson.adapters.CalendarSerializer


    assertThat(result(), is(equalTo(expectedResult)));
  }

  @Test
  public void shouldSerializeCalendarLikeXstream() {
    GsonJSONSerialization serialization = serializationWithAdapter(new CalendarSerializer());
   
    Client c = new Client("renan");
    c.included = new GregorianCalendar(2012, 8, 3);

    serialization.from(c).serialize();
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.serialization.gson.adapters.CalendarSerializer

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.