Class GsonUtils.GsonPostProcessableTypeAdapterFactory

All Implemented Interfaces:
Enclosing class:

public static class GsonUtils.GsonPostProcessableTypeAdapterFactory extends Object implements
Some objects may require post-processing after deserialization from JSON.

We do this upon deserialization in order to make sure that the object matches the format that we expect to be stored in the database. See Address for an example.

  • Constructor Details

    • GsonPostProcessableTypeAdapterFactory

      public GsonPostProcessableTypeAdapterFactory()
  • Method Details

    • create

      public <T><T> create( gson,<T> type)
      Specified by:
      create in interface