Example usage for com.google.gson TypeAdapter subclass-usage

List of usage examples for com.google.gson TypeAdapter subclass-usage

Introduction

In this page you can find the example usage for com.google.gson TypeAdapter subclass-usage.

Usage

From source file net.ilexiconn.magister.adapter.MessageAdapter.java

public class MessageAdapter extends TypeAdapter<Message[]> {
    public Gson gson = GsonUtil.getGson();

    @Override
    public void write(JsonWriter out, Message[] value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");

From source file net.ilexiconn.magister.adapter.PresenceAdapter.java

public class PresenceAdapter extends TypeAdapter<Presence[]> {
    public Gson gson = GsonUtil.getGsonWithAdapter(Appointment[].class, new AppointmentAdapter());

    @Override
    public void write(JsonWriter out, Presence[] value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");

From source file net.ilexiconn.magister.adapter.PresencePeriodAdapter.java

public class PresencePeriodAdapter extends TypeAdapter<PresencePeriod[]> {
    public Gson gson = GsonUtil.getGson();

    @Override
    public void write(JsonWriter out, PresencePeriod[] value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");

From source file net.ilexiconn.magister.adapter.ProfileAdapter.java

public class ProfileAdapter extends TypeAdapter<Profile> {
    public Gson gson = GsonUtil.getGsonWithAdapter(Privilege[].class, new PrivilegeAdapter());

    @Override
    public void write(JsonWriter out, Profile value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");

From source file net.ilexiconn.magister.adapter.SingleMessageAdapter.java

public class SingleMessageAdapter extends TypeAdapter<SingleMessage[]> {
    public Gson gson = GsonUtil.getGson();

    @Override
    public void write(JsonWriter out, SingleMessage[] value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");

From source file net.ilexiconn.magister.adapter.SingleStudyGuideAdapter.java

public class SingleStudyGuideAdapter extends TypeAdapter<SingleStudyGuide> {
    public Gson gson = GsonUtil.getGson();

    @Override
    public void write(JsonWriter out, SingleStudyGuide value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");

From source file net.ilexiconn.magister.adapter.StudyAdapter.java

public class StudyAdapter extends TypeAdapter<Study[]> {
    public Gson gson = GsonUtil.getGson();

    @Override
    public void write(JsonWriter out, Study[] value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");

From source file net.ilexiconn.magister.adapter.sub.PrivilegeAdapter.java

public class PrivilegeAdapter extends TypeAdapter<Privilege[]> {
    public Gson gson = GsonUtil.getGson();

    @Override
    public void write(JsonWriter out, Privilege[] value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");

From source file net.ilexiconn.magister.adapter.SubjectAdapter.java

public class SubjectAdapter extends TypeAdapter<Subject[]> {
    public Gson gson = GsonUtil.getGson();

    @Override
    public void write(JsonWriter out, Subject[] value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");

From source file net.ilexiconn.magister.adapter.type.AppointmentTypeAdapter.java

public class AppointmentTypeAdapter extends TypeAdapter<AppointmentType> {
    public Gson gson = GsonUtil.getGson();

    @Override
    public void write(JsonWriter out, AppointmentType value) throws IOException {
        throw new UnsupportedOperationException("Not implemented");