public class RDFTerm2Json extends Object
Nodes 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 |
| Constructor and Description |
|---|
RDFTerm2Json() |
Licenced under the Apache License, Version 2.0