| hide |
|
|
|---|---|---|
| icon | octicons/book-24 |
-
:material-arrow-collapse:{ .lg .middle }
jsonld.compact()
Compacts a JSON-LD document with a context, replacing full IRIs with shorter terms where possible.
-
:material-arrow-expand:{ .lg .middle }
jsonld.expand()
Expands a compacted JSON-LD document into full IRI-based form and removes the context.
-
:material-layers-outline:{ .lg .middle }
jsonld.flatten()
Flattens nested JSON-LD into a top-level node map so each node can be processed independently.
-
:material-view-dashboard-outline:{ .lg .middle }
jsonld.frame()
Frames expanded JSON-LD into a predictable tree shape that matches a supplied frame.
-
:material-export:{ .lg .middle }
jsonld.to_rdf()
Converts a JSON-LD document into RDF statements in a requested serialization format.
-
:material-import:{ .lg .middle }
jsonld.from_rdf()
Converts RDF statements into JSON-LD so the data can be processed with the JSON-LD API.
-
:material-fingerprint:{ .lg .middle }
jsonld.normalize()
Normalizes JSON-LD into canonical RDF statements for stable comparison, hashing, or signing.
-
:material-file-download-outline:{ .lg .middle } Document Loaders
Load remote JSON-LD documents and contexts with the built-in loader classes.
-
:material-cached:{ .lg .middle }
ContextResolver
Resolve and cache remote
@contextdocuments during JSON-LD processing. -
:material-console:{ .lg .middle } CLI
Transform JSON-LD from the command line.
-
:material-hard-hat:{ .lg .middle } In construction
We are working on more reference documentation. It is coming soon.