Class GsonProvider
java.lang.Object
com.adelean.inject.resources.junit.jupiter.core.AbstractParserProvider<WithGson,com.google.gson.Gson,GsonResourceParser>
com.adelean.inject.resources.junit.jupiter.json.GsonProvider
public final class GsonProvider extends AbstractParserProvider<WithGson,com.google.gson.Gson,GsonResourceParser>
-
Field Summary
Fields inherited from class com.adelean.inject.resources.junit.jupiter.core.AbstractParserProvider
annotationType, injectionContext, PARSER_PROVIDERS, testClass, testInstance -
Constructor Summary
Constructors Constructor Description GsonProvider(InjectionContext injectionContext, @Nullable java.lang.Object testInstance, java.lang.Class<?> testClass) -
Method Summary
Modifier and Type Method Description protected GsonResourceParsercreateParser(WithGson parserAnnotation, com.google.gson.Gson gson)Methods inherited from class com.adelean.inject.resources.junit.jupiter.core.AbstractParserProvider
allParserProviders, parserNameFromField, parserNameFromMethod, provideFromField, provideFromMethod, providerFor
-
Constructor Details
-
GsonProvider
public GsonProvider(InjectionContext injectionContext, @Nullable @Nullable java.lang.Object testInstance, java.lang.Class<?> testClass)
-
-
Method Details
-
createParser
- Specified by:
createParserin classAbstractParserProvider<WithGson,com.google.gson.Gson,GsonResourceParser>
-