Package org.apache.jena.sparql.lib
Class RDFTerm2Json
- java.lang.Object
-
- org.apache.jena.sparql.lib.RDFTerm2Json
-
public class RDFTerm2Json extends java.lang.Object
General converting ofNode
s to JSON.This is a one way, lossy, conversion from an RDF Term to the best available JSON value.
This is not SPARQL results in JSON (
application/result-sets+json
).RDF Term JSON value URI String xsd:string String rdf:langString String (no @lang) XSD numeric JSON number xsd:boolean boolean Literal, other datatype String, no ^^ Unbound JSON null
See alsoNV
for conversion to and fromNodeValues
for function argument and results.
-
-
Constructor Summary
Constructors Constructor Description RDFTerm2Json()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonValue
fromNode(Node node)
-