noggin

Serializers

Pure conversions between a NogginDocument and its two wire forms. No I/O — you hand them strings and documents, they hand you back the other. Both round-trip: the document → string → document identity holds for any valid document.

When to use these directly

Prefer opening a Noggin whenever you have a location. The serializers are the right entry point when you're working with document bytes:

For anything that lives at a URI a provider knows, use openNoggin instead.