Example usage for Java com.google.gson.typeadapters RuntimeTypeAdapterFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
RuntimeTypeAdapterFactory | of(Class Creates a new runtime type adapter using for baseType using typeFieldName as the type field name. |
RuntimeTypeAdapterFactory | registerSubtype(Class extends T> type) Registers type identified by its Class#getSimpleName simple name . |
RuntimeTypeAdapterFactory | registerSubtype(Class extends T> type, String label) Registers type identified by label . |