Class ProjectNameKeyAdapter

    • Constructor Detail

      • ProjectNameKeyAdapter

        public ProjectNameKeyAdapter()
    • Method Detail

      • serialize

        public com.google.gson.JsonElement serialize​(Project.NameKey project,
                                                     Type typeOfSrc,
                                                     com.google.gson.JsonSerializationContext context)
        Specified by:
        serialize in interface com.google.gson.JsonSerializer<Project.NameKey>
      • deserialize

        public Project.NameKey deserialize​(com.google.gson.JsonElement json,
                                           Type typeOfT,
                                           com.google.gson.JsonDeserializationContext context)
                                    throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<Project.NameKey>
        Throws:
        com.google.gson.JsonParseException