Package org.openrewrite.json.tree
Class Json.Document
java.lang.Object
org.openrewrite.json.tree.Json.Document
- All Implemented Interfaces:
Json,org.openrewrite.SourceFile,org.openrewrite.Tree
- Enclosing interface:
- Json
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openrewrite.json.tree.Json
Json.Array, Json.Document, Json.Empty, Json.Identifier, Json.JsonObject, Json.Literal, Json.Member -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P> JsonacceptJson(JsonVisitor<P> v, P p) <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor) org.openrewrite.SourceFilewithCharset(Charset charset) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.json.tree.Json
accept, getPrefix, isAcceptable, withPrefixMethods inherited from interface org.openrewrite.SourceFile
getChecksum, getFileAttributes, getSourcePath, getStyle, getStyle, getWeight, isCharsetBomMarked, printAll, printAll, printAll, printAllAsBytes, printAllAsBytes, printAllTrimmed, printAllTrimmed, withCharsetBomMarked, withChecksum, withFileAttributes, withSourcePathMethods inherited from interface org.openrewrite.Tree
cast, getId, getJacksonPolymorphicTypeTag, getMarkers, isScope, print, print, print, printTrimmed, printTrimmed, printTrimmed, safeCast, withId, withMarkers
-
Constructor Details
-
Document
public Document()
-
-
Method Details
-
getCharset
- Specified by:
getCharsetin interfaceorg.openrewrite.SourceFile
-
withCharset
- Specified by:
withCharsetin interfaceorg.openrewrite.SourceFile
-
acceptJson
- Specified by:
acceptJsonin interfaceJson
-
printer
public <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor) - Specified by:
printerin interfaceorg.openrewrite.SourceFile- Specified by:
printerin interfaceorg.openrewrite.Tree
-