Interface JSON2SolutionGraphConverter

All Known Implementing Classes:
JSON2SolutionGraphConverterImpl

public interface JSON2SolutionGraphConverter
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.rdf.model.Model
    translateJSON(org.apache.jena.atlas.json.JsonObject jsonObj)
    Translates a JSON object (obtained as a response to a GraphQL request) into a solution graph (model) containing triples created by parsing the JSON object.
  • Method Details

    • translateJSON

      org.apache.jena.rdf.model.Model translateJSON(org.apache.jena.atlas.json.JsonObject jsonObj) throws org.apache.jena.atlas.json.io.parserjavacc.javacc.ParseException, org.apache.jena.atlas.json.JsonException
      Translates a JSON object (obtained as a response to a GraphQL request) into a solution graph (model) containing triples created by parsing the JSON object.
      Throws:
      org.apache.jena.atlas.json.io.parserjavacc.javacc.ParseException - if the JSON structure for whatever reason isn't valid, thus making it un-parsable.
      org.apache.jena.atlas.json.JsonException