Companion

object Companion

Functions

Link copied to clipboard
fun fromJson(source: <Error class: unknown class>): Spec

Decodes a Spec from an already-parsed spec-JSON object.

fun fromJson(source: String): Spec

Decodes a Spec from spec JSON — the inverse of toJson.