fromJsonOrNull

fun fromJsonOrNull(json: String, portal: Portal): PortalItem?

Convert a JSON string to a PortalItem instance.

Return

the PortalItem, or null if JSON deserialization failed

Since

200.0.0

Parameters

json

the JSON string

portal

the Portal the item belongs to