Tabnine Logo
ObjectReadContext.getSchema
Code IndexAdd Tabnine to your IDE (free)

How to use
getSchema
method
in
com.fasterxml.jackson.core.ObjectReadContext

Best Java code snippets using com.fasterxml.jackson.core.ObjectReadContext.getSchema (Showing top 4 results out of 315)

origin: FasterXML/jackson-dataformats-text

private final JavaPropsSchema _getSchema(ObjectReadContext readCtxt) {
  FormatSchema sch = readCtxt.getSchema();
  if (sch == null) {
    return JavaPropsParser.DEFAULT_SCHEMA;
  }
  return (JavaPropsSchema) sch;
}

origin: FasterXML/jackson-dataformats-text

private final CsvSchema _getSchema(ObjectReadContext readCtxt) {
  FormatSchema sch = readCtxt.getSchema();
  if (sch == null) {
    return DEFAULT_SCHEMA;
  }
  return (CsvSchema) sch;
}

origin: FasterXML/jackson-dataformats-binary

@Override
protected ProtobufParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    byte[] data, int offset, int len) throws IOException
{
  return new ProtobufParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      (ProtobufSchema) readCtxt.getSchema(),
      null, data, offset, len, false);
}
origin: FasterXML/jackson-dataformats-binary

@Override
protected ProtobufParser _createParser(ObjectReadContext readCtxt, IOContext ioCtxt,
    InputStream in) throws IOException
{
  byte[] buf = ioCtxt.allocReadIOBuffer();
  return new ProtobufParser(readCtxt, ioCtxt,
      readCtxt.getStreamReadFeatures(_streamReadFeatures),
      (ProtobufSchema) readCtxt.getSchema(),
      in, buf, 0, 0, true);
}
com.fasterxml.jackson.coreObjectReadContextgetSchema

Popular methods of ObjectReadContext

  • getStreamReadFeatures
  • getFormatReadFeatures
  • empty
  • getParserFactory
  • readTree
  • readValue

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • String (java.lang)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now