package rdf_json_ld

  1. Overview
  2. Docs

Serialization to JSON-LD.

type 'a smap = {
  1. mutable map : 'a T.SMap.t;
}
val smap_empty : unit -> 'a smap
val smap_singleton : T.SMap.key -> 'a -> 'a smap
val smap_find : T.SMap.key -> 'a smap -> 'a option
val smap_add : T.SMap.key -> 'a -> 'a smap -> unit
type AnyMap.k +=
  1. | T of Rdf.Term.term
  2. | I of Iri.t
  3. | B of Rdf.Term.blank_id
  4. | N of string
type 'a map = {
  1. mutable amap : 'a AnyMap.t;
}
val map_empty : unit -> 'a map
val map_singleton : AnyMap.key -> 'a -> 'a map
val map_find : AnyMap.key -> 'a map -> 'a option
val map_add : AnyMap.key -> 'a -> 'a map -> unit
type node = Rdf_json_ld.T.J.json list map
val rdf_to_object : T.options -> Rdf.Term.term -> Rdf_json_ld.T.J.json
val nil_term : Rdf.Term.term
OCaml

Innovation. Community. Security.