public final class DraftV4TypeDigester extends AbstractDigester
type (draft v4)
This will store a set of allowed types. It will, for instance, produce the same digested form of these two forms:
{"type": "string" } { "type": [ "string" ] } FACTORY, keyword| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
digest(com.fasterxml.jackson.databind.JsonNode schema)
Digest a schema into a simplified form
|
static Digester |
getInstance() |
supportedTypes, toStringpublic static Digester getInstance()
public com.fasterxml.jackson.databind.JsonNode digest(com.fasterxml.jackson.databind.JsonNode schema)
Digesterschema - the schema to digestCopyright © 2014. All Rights Reserved.