fromJSON

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

Parses a Metadata from its RWPM JSON representation.

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