You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a mechanism like jsonschema2pojo for jsonld? I am trying to define an interface between server side code and client. We have a well defined jsonld schema. I am wondering if there is a way to convert that schema to a java pojo, so we may serialize / serialize pojo into jsonld for the rest endpoint.
JSON-LD is an RDF serialization, such as XML and TTL.
So, if I were you I would look for RDF to POJO solutions, like this: https://github.com/cyberborean/rdfbeans
If the RDF-to-POJO solution relies on XML serialization you can easily covert from JSON-LD to RDF/XML before transforming to POJO.
Activity
jonimoreira commentedon Aug 21, 2019
JSON-LD is an RDF serialization, such as XML and TTL.
So, if I were you I would look for RDF to POJO solutions, like this:
https://github.com/cyberborean/rdfbeans
If the RDF-to-POJO solution relies on XML serialization you can easily covert from JSON-LD to RDF/XML before transforming to POJO.
I hope it is helpful. Cheers!