Visitar URL original
jsonldschema 2 pojo? · Issue #271 · jsonld-java/jsonld-java · GitHub
Skip to content

jsonldschema 2 pojo? #271

Open
Open

Description

@Howiezhu

Hi,

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.

Thanks

Activity

  1. jonimoreira commented on Aug 21, 2019

    @jonimoreira

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions