Package-level declarations
The Moshi-backed layer that turns a raw Alpha Vantage JSON reply into a typed response object.
com.crazzyghost.alphavantage.parser.Parser is the base type every response's parser extends, with com.crazzyghost.alphavantage.parser.DefaultParser and com.crazzyghost.alphavantage.parser.SimpleParser covering its two input shapes. com.crazzyghost.alphavantage.parser.NoneableDouble and com.crazzyghost.alphavantage.parser.NoneableLong — backed by com.crazzyghost.alphavantage.parser.NoneableDoubleAdapter and com.crazzyghost.alphavantage.parser.NoneableLongAdapter — mark fields whose value Alpha Vantage may report as the literal string "None", distinguishing that explicitly-absent case from an ordinary number or a JSON null.
Types
Link copied to clipboard
A Parser for the metadata-plus-time-series reply shape most Alpha Vantage endpoints use, where the first top-level key holds the metadata and the second holds the data keyed by timestamp.
Link copied to clipboard
Marks a Double field as carrying Alpha Vantage's numeric-or-
"None" convention, routing its deserialization through NoneableDoubleAdapter instead of Moshi's default Double handling.Link copied to clipboard
Moshi (de)serialization adapter for Double fields annotated NoneableDouble, registered on every
Moshi.BuilderParser constructs.Link copied to clipboard
Marks a Long field as carrying Alpha Vantage's numeric-or-
"None" convention, routing its deserialization through NoneableLongAdapter instead of Moshi's default Long handling.Link copied to clipboard
Moshi (de)serialization adapter for Long fields annotated NoneableLong, registered on every
Moshi.BuilderParser constructs.Link copied to clipboard
A Parser counterpart to DefaultParser for subclasses that parse a pre-shaped input of type
U directly, rather than receiving the metadata-plus-time-series split DefaultParser performs.