GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — jsonldschema 2 pojo? · Issue #271 · jsonld-java/jsonld-java

jsonldschema 2 pojo? #271

New issue
Copy link
New issue
Copy link
Open
Open
jsonldschema 2 pojo?#271
Copy link

Description

@Howiezhu
Howiezhu
opened on Aug 21, 2019
Issue body actions

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
    jonimoreira
    on Aug 21, 2019
    More actions

    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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.