register

fun register(url: String, contextJson: String)

Register a JSON-LD context document so it can be resolved offline during canonicalization. Registration is process-wide.

Parameters

url

The context URL exactly as it appears in @context

contextJson

The full JSON context document as a string