-
public class Contributor.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static Contributor.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ContributorfromJSON(Object json, WarningLogger warnings)Parses a Contributor from its RWPM JSON representation. final List<Contributor>fromJSONArray(Object json, WarningLogger warnings)Creates a list of Contributor from its RWPM JSON representation. -
-
Method Detail
-
fromJSON
final Contributor fromJSON(Object json, WarningLogger warnings)
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.
-
fromJSONArray
final List<Contributor> fromJSONArray(Object json, WarningLogger warnings)
Creates a list of Contributor from its RWPM JSON representation.
If a contributor can't be parsed, a warning will be logged with warnings.
-
-
-
-