fromJson

fun fromJson(json: JsonObject): DidResolutionMetadata

Builds metadata from a §4.2 JSON structure.

This does not delegate to fromMap: a JsonObject's values are kotlinx.serialization.json.JsonElements, so as? String casts would silently drop every member.