com.google.gson.internal
Interface ObjectConstructor<T>


public interface ObjectConstructor<T>

Defines a generic object construction factory. The purpose of this class is to construct a default instance of a class that can be used for object navigation while deserialization from its JSON representation.

Author:
Inderjeet Singh, Joel Leitch

Method Summary
 T construct()
          Returns a new instance.
 

Method Detail

construct

T construct()
Returns a new instance.