Package-level declarations
Types
Link copied to clipboard
open class ConfigurableMoshi(builder: Moshi.Builder, val defaultContentType: ContentType = APPLICATION_JSON, strictness: StrictnessMode = Lenient) : AutoMarshallingJson<MoshiNode>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
To implement custom JSON configuration, create your own object singleton. Extra mappings can be added before done() is called.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class SimpleMoshiAdapterFactory(typesToAdapters: Pair<String, (Moshi) -> JsonAdapter<*>>) : JsonAdapter.Factory
Convenience class to create Moshi Adapter Factory
Link copied to clipboard
Determines if the marshaller should be lenient when parsing unknown fields
Link copied to clipboard
These adapters are the edge case adapters for dealing with Moshi
Link copied to clipboard
Functions
Link copied to clipboard
fun Moshi.Builder.asConfigurable(kotlinFactory: JsonAdapter.Factory = KotlinJsonAdapterFactory()): AutoMappingConfiguration<Moshi.Builder>
Link copied to clipboard
Convenience function to create Moshi Adapter Factory for a simple Moshi Adapter
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun standardConfig(kotlinFactory: JsonAdapter.Factory = KotlinJsonAdapterFactory()): AutoMappingConfiguration<Moshi.Builder>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard