fromJsonOrNull

fun fromJsonOrNull(encodedString: String, portal: Portal): PortalUser?

Convert a JSON string to a PortalUser instance.

Return

the PortalUser, or null if JSON deserialization failed

Since

200.0.0

Parameters

encodedString

the JSON string

portal

the Portal the user belongs to