Java com.google.gson.typeadapters RuntimeTypeAdapterFactory fields, constructors, methods, implement or subclass

Example usage for Java com.google.gson.typeadapters RuntimeTypeAdapterFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gson.typeadapters RuntimeTypeAdapterFactory.

The text is from its open source code.

Method

RuntimeTypeAdapterFactoryof(Class baseType, String typeFieldName)
Creates a new runtime type adapter using for baseType using typeFieldName as the type field name.
RuntimeTypeAdapterFactoryregisterSubtype(Class type)
Registers type identified by its Class#getSimpleName simple name .
RuntimeTypeAdapterFactoryregisterSubtype(Class type, String label)
Registers type identified by label .