of

public static RatingResponse of(Map<String, Object> stringObjectMap)

Parses a raw JSON response from the CRYPTO_RATING endpoint.

Return

the parsed rating, or one carrying an error message if parsing failed

Parameters

stringObjectMap

the response body, decoded from JSON