Skip navigation links
A C D E F L N S T W 

A

ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.DeserializeOnly
Builds an adapter that can process a types annotated with DeserializeOnly.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.ElementAt
Builds an adapter that can process a types annotated with ElementAt.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.FallbackEnum
Builds an adapter that can process enums annotated with FallbackEnum.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.FallbackOnNull
Builds an adapter that can process a types annotated with FallbackOnNull.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.FilterNulls
Builds an adapter that can process types annotated with FilterNulls.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.FirstElement
Builds an adapter that can process a types annotated with FirstElement.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.LastElement
Builds an adapter that can process a type/field annotated with LastElement.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.SerializeNulls
Builds an adapter that can process a types annotated with SerializeNulls.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.SerializeOnly
Builds an adapter that can process a types annotated with SerializeOnly.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.SerializeOnlyNonEmpty
Builds an adapter that can process a types annotated with SerializeOnlyNonEmpty.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.Transient
Builds an adapter that can process a type annotated with Transient.
ADAPTER_FACTORY - Static variable in annotation type com.serjltt.moshi.adapters.Wrapped
Builds an adapter that can process a types annotated with Wrapped.

C

com.serjltt.moshi.adapters - package com.serjltt.moshi.adapters
 
create(String...) - Static method in class com.serjltt.moshi.adapters.Wrapped.Factory
Create a new instance of Wrapped with the specified JSON path.
create(boolean, String...) - Static method in class com.serjltt.moshi.adapters.Wrapped.Factory
Create a new instance of Wrapped with the specified JSON path.

D

DefaultOnDataMismatchAdapter<T> - Class in com.serjltt.moshi.adapters
Adapter that fallbacks to a default value in case there's a mismatch.
DeserializeOnly - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated field may only be deserialized.

E

ElementAt - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated type/field is expected to be the element at the given index of a json array.

F

FallbackEnum - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated enum has a fallback value.
FallbackOnNull - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated field may be null in the json source and thus requires a fallback value.
FilterNulls - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated field may not contain any null values.
FirstElement - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated type/field is expected to be the first element of a json array.
fromJson(JsonReader) - Method in class com.serjltt.moshi.adapters.DefaultOnDataMismatchAdapter
 

L

LastElement - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated type/field is expected to be the last element of a json array.

N

newFactory(Type, T) - Static method in class com.serjltt.moshi.adapters.DefaultOnDataMismatchAdapter
Builds an adapter that fallbacks to a default value in case there's a mismatch.

S

SerializeNulls - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated type/field should be serialized as null in case of a empty/null value.
SerializeOnly - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated field may only be serialized.
SerializeOnlyNonEmpty - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated type/field should not be serialized in case of an empty value.

T

toJson(JsonWriter, T) - Method in class com.serjltt.moshi.adapters.DefaultOnDataMismatchAdapter
 
toString() - Method in class com.serjltt.moshi.adapters.DefaultOnDataMismatchAdapter
 
Transient - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated method is transient.

W

Wrapped - Annotation Type in com.serjltt.moshi.adapters
Indicates that the annotated type/field should be unwrapped from the provided path.
Wrapped.Factory - Class in com.serjltt.moshi.adapters
Allows to easily create a new instance of Wrapped annotation.
A C D E F L N S T W 
Skip navigation links