Package org.wicketstuff.rest.contenthandling.json.objserialdeserial

Examples of org.wicketstuff.rest.contenthandling.json.objserialdeserial.GsonObjectSerialDeserial


  super(objectSerialDeserial);
    }
   
    public GsonWebSerialDeserial()
    {
  super(new GsonObjectSerialDeserial());
    }
View Full Code Here


public class PersonsRestResource extends AbstractRestResource<JsonWebSerialDeserial> {
    private final List<PersonPojo> persons = new ArrayList<PersonPojo>();

    public PersonsRestResource() {
  super(new JsonWebSerialDeserial(new GsonObjectSerialDeserial()));
 
        persons.add(new PersonPojo("Freddie Mercury", "fmercury@queen.com", "Eeehooo!"));
        persons.add(new PersonPojo("John Deacon", "jdeacon@queen.com", "bass"));
        persons.add(new PersonPojo("Brian May", "bmay@queen.com", "guitar"));
        persons.add(new PersonPojo("Roger Taylor", "rtaylor@queen.com", "drum"));
View Full Code Here

TOP

Related Classes of org.wicketstuff.rest.contenthandling.json.objserialdeserial.GsonObjectSerialDeserial

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.