Liking cljdoc? Tell your friends :D

fluree.json-ld.processor.api


->documentclj

(->document document-loader url options)

Takes a document-loader, which takes a url and options and returns a json string context document (must have an "@context" key with a context as its value).

document-loader: [url options] => json-string

Takes a document-loader, which takes a url and options and returns a json string
context document (must have an "@context" key with a context as its value).

document-loader: [url options] => json-string
sourceraw docstring

canonizeclj/s

(canonize json-ld)
(canonize json-ld opts)
source (clj)source (cljs)

compactclj/s

(compact json-ld context)
(compact json-ld context opts)
source (clj)source (cljs)

expandclj/s

(expand json-ld)
(expand json-ld opts)
source (clj)source (cljs)

flattenclj/s≠

(flatten json-ld)
(flatten json-ld opts)
cljs

Flattens JSON-LD documents into a single array with node references.

NOTE: This function may not work reliably in ClojureScript due to compatibility issues with the underlying JavaScript JSON-LD library. Consider using the Clojure version for flatten operations.

Flattens JSON-LD documents into a single array with node references.

NOTE: This function may not work reliably in ClojureScript due to 
compatibility issues with the underlying JavaScript JSON-LD library.
Consider using the Clojure version for flatten operations.
source (clj)source (cljs)raw docstring

from-rdfcljs

(from-rdf n-quads)
(from-rdf n-quads opts)
source

Parseablecljprotocol

parsedclj

(parsed x)
source

pluggable-loadercljs

(pluggable-loader document-loader)

Takes a document-loader, which takes a url and options and returns a json string context document (must have an "@context" key with a context as its value).

document-loader: [url options] => json-string

Takes a document-loader, which takes a url and options and returns a json string
context document (must have an "@context" key with a context as its value).

document-loader: [url options] => json-string
sourceraw docstring

static-loaderclj/s

(static-loader url _)
source (clj)source (cljs)

to-rdfclj/s

(to-rdf json-ld)
(to-rdf json-ld opts)
source (clj)source (cljs)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close