pub fn rdf_to_value(defn: &RdfDef) -> ValueExpand description
Convert a SDML RdfDef into a context object, in the form shown as JSON below.
{
"__type": "rdf",
"source_span": {}, // optional
"name": "Identifier",
"annotations": [] // optional
}