Package edu.wpi.cs.wpisuitetng.modules.core.models

Examples of edu.wpi.cs.wpisuitetng.modules.core.models.UserDeserializer


 
  @Before
  public void setUp()
  {
    this.gson = new GsonBuilder();
    this.gson.registerTypeAdapter(User.class, new UserDeserializer());
  }
View Full Code Here


    this.data = data;
    this.passwordHash = new Sha256Password();

    // build the custom serializer/deserializer
    GsonBuilder builder = new GsonBuilder();
    builder.registerTypeAdapter(this.user, new UserDeserializer());

    this.gson = builder.create();

  }
View Full Code Here

TOP

Related Classes of edu.wpi.cs.wpisuitetng.modules.core.models.UserDeserializer

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.