Companion

object Companion

Functions

Link copied to clipboard
fun fromJSON(json: JSONObject?, warnings: WarningLogger? = null): Acquisition?

Creates an Acquisition from its JSON representation. If the acquisition can't be parsed, a warning will be logged with warnings.

Link copied to clipboard
fun fromJSONArray(json: JSONArray?, warnings: WarningLogger? = null): List<Acquisition>

Creates a list of Acquisition from its JSON representation. If an acquisition can't be parsed, a warning will be logged with warnings.