fromJson

public Double fromJson(String s)

Parses a JSON string field into a Double, per Alpha Vantage's numeric-or-"None" convention: a valid numeric string becomes its Double value, and any other string — including the literal "None" Alpha Vantage sends for an unavailable field — becomes null.

Return

the parsed value, or null if s is not a valid number

Parameters

s

the raw JSON string value