writeToString

fun writeToString(webId: WebId?): String?

Serializes webId to a compact JSON string for local storage. Returns null if webId is null.