Hey i'm trying to make a web service and i'm using Jena distibution. At the moment i have created my model and its printing out in RDF/XML format. I want to get my data to a JSON file saved in my hard disk. How can i do that?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Now the Jena RIOT readers/writers support also the RDF/JSON serialization; then you just need to do the following:
org.openjena.riot.out.RDFJSONWriter
writes Talis-style RDF/JSON (i.e not JSON-LD).