fromJSON

fun fromJSON(json: JSONObject?, warnings: WarningLogger? = null): Link?

Creates an Link from its RWPM JSON representation.

If the link can't be parsed, a warning will be logged with warnings.