Interface Document<T>

All Known Subinterfaces:
DocPatch, Metadata<T>, PatchableDocument<T>, Pattern
All Known Implementing Classes:
CacheConfig, ConfigValidationException, DocNode, DocumentParseException, DocumentParseException.DocParseError, FileDoesNotExist, InvalidAttributeValue, InvalidExpression, JacksonJsonNodeAdapter, JsonPatch, JsonPatch.Operation.Add, JsonPatch.Operation.Copy, JsonPatch.Operation.Move, JsonPatch.Operation.Remove, JsonPatch.Operation.Replace, JsonPatch.Operation.Test, JsonPathPatch, JsonPathPatch.Operation, JsonValidationError, MergePatch, MissingAttribute, PatternImpl, SimplePathPatch, SimplePathPatch.Operation, SimplePatternImpl, TLSConfig, TLSConfig.ClientCertAuthConfig, UnexpectedDocumentStructureException, UnparsedDocument, UnparsedDocument.BytesDoc, UnparsedDocument.StringDoc, UnsupportedAttribute, ValidationError, ValidationErrors, ValidationResult

public interface Document<T>
  • Method Details

    • toBasicObject

      Object toBasicObject()
    • toString

      default String toString(Format format)
    • toBytes

      default byte[] toBytes(Format format)
    • toJsonString

      default String toJsonString()
    • toPrettyJsonString

      default String toPrettyJsonString()
    • toYamlString

      default String toYamlString()
    • toSmile

      default byte[] toSmile()
    • toDocNode

      default DocNode toDocNode()
    • toDeepBasicObject

      default Object toDeepBasicObject()
    • meta

      default Metadata<T> meta()
    • assertedType

      static <T> Document<T> assertedType(Object object, Class<T> type)
    • toDeepBasicObject

      static Object toDeepBasicObject(Object object)