## Uses of Class
com.fasterxml.jackson.core.format.MatchStrength

- Packages that use MatchStrength
  Package | Description
  --- | ---
  com.fasterxml.jackson.core | Main public API classes of the core streaming JSON processor: most importantly `JsonFactory` used for constructing JSON parser (`JsonParser`) and generator (`JsonGenerator`) instances.
  com.fasterxml.jackson.core.format | Package that contains interfaces needed for dynamic, pluggable format (auto)detection; as well as basic utility classes for simple format detection functionality.
  com.fasterxml.jackson.core.json | JSON-specific parser and generator implementation classes that Jackson defines and uses.

- - ### Uses of MatchStrength in com.fasterxml.jackson.core

    Methods in com.fasterxml.jackson.core that return MatchStrength
    Modifier and Type | Method and Description
    --- | ---
    `MatchStrength` | JsonFactory.`hasFormat(InputAccessor acc)`
    `protected MatchStrength` | JsonFactory.`hasJSONFormat(InputAccessor acc)` Helper method that can be called to determine if content accessed using given accessor seems to be JSON content.

  - ### Uses of MatchStrength in com.fasterxml.jackson.core.format

    Fields in com.fasterxml.jackson.core.format declared as MatchStrength
    Modifier and Type | Field and Description
    --- | ---
    `protected MatchStrength` | DataFormatMatcher.`_matchStrength` Strength of match with `DataFormatMatcher._match`
    `protected MatchStrength` | DataFormatDetector.`_minimalMatch` Strength of minimal match we accept as the answer, unless better matches are found.
    `protected MatchStrength` | DataFormatDetector.`_optimalMatch` Strength of match we consider to be good enough to be used without checking any other formats.

    Methods in com.fasterxml.jackson.core.format that return MatchStrength
    Modifier and Type | Method and Description
    --- | ---
    `MatchStrength` | DataFormatMatcher.`getMatchStrength()` Method for accessing strength of the match, if any; if no match, will return `INCONCLUSIVE`.
    `static MatchStrength` | MatchStrength.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static MatchStrength[]` | MatchStrength.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.fasterxml.jackson.core.format with parameters of type MatchStrength
    Modifier and Type | Method and Description
    --- | ---
    `DataFormatMatcher` | InputAccessor.Std.`createMatcher(JsonFactory match, MatchStrength matchStrength)`
    `DataFormatDetector` | DataFormatDetector.`withMinimalMatch(MatchStrength minMatch)` Method that will return a detector instance that uses given minimal match level; match that may be returned unless a stronger match is found with other format detectors.
    `DataFormatDetector` | DataFormatDetector.`withOptimalMatch(MatchStrength optMatch)` Method that will return a detector instance that uses given optimal match level (match that is considered sufficient to return, without trying to find stronger matches with other formats).

    Constructors in com.fasterxml.jackson.core.format with parameters of type MatchStrength
    Constructor and Description
    `DataFormatMatcher(InputStream in, byte[] buffered, int bufferedStart, int bufferedLength, JsonFactory match, MatchStrength strength)`

  - ### Uses of MatchStrength in com.fasterxml.jackson.core.json

    Methods in com.fasterxml.jackson.core.json that return MatchStrength
    Modifier and Type | Method and Description
    --- | ---
    `static MatchStrength` | ByteSourceJsonBootstrapper.`hasJSONFormat(InputAccessor acc)` Current implementation is not as thorough as other functionality (`ByteSourceJsonBootstrapper`); supports UTF-8, for example.

Copyright © 2014 FasterXML. All Rights Reserved.