fromJSON

fun fromJSON(json: Any?, warnings: WarningLogger? = null): Contributor?

Parses a Contributor from its RWPM JSON representation.

A contributor can be parsed from a single string, or a full-fledged object. If the contributor can't be parsed, a warning will be logged with warnings.