Class MetaschemaJsonReader

java.lang.Object
dev.metaschema.databind.io.json.MetaschemaJsonReader
All Implemented Interfaces:
IParsingContext<com.fasterxml.jackson.core.JsonParser,IJsonProblemHandler>, IJsonParsingContext, IItemReadHandler

public class MetaschemaJsonReader extends Object implements IJsonParsingContext, IItemReadHandler
Supports reading JSON-based Metaschema module instances.
  • Constructor Details

    • MetaschemaJsonReader

      public MetaschemaJsonReader(@NonNull com.fasterxml.jackson.core.JsonParser parser, @NonNull URI source) throws IOException
      Construct a new Module-aware JSON parser using the default problem handler.
      Parameters:
      parser - the JSON parser to parse with
      source - the resource being parsed
      Throws:
      IOException - if an error occurred while reading the JSON
      See Also:
    • MetaschemaJsonReader

      public MetaschemaJsonReader(@NonNull com.fasterxml.jackson.core.JsonParser parser, @NonNull URI source, @NonNull IJsonProblemHandler problemHandler) throws IOException
      Construct a new Module-aware JSON parser.
      Parameters:
      parser - the JSON parser to parse with
      source - the resource being parsed
      problemHandler - the problem handler implementation to use
      Throws:
      IOException - if an error occurred while reading the JSON
  • Method Details