class PrettyYamlRenderer extends BaseRenderer[Writer]
A version of YamlRenderer that tries its best to make the output YAML as
pretty as possible: unquoted strings, de-dented lists, etc. Follows the PyYAML
style. Also adds the ability to stream writes to a generic Writer
.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PrettyYamlRenderer
- BaseRenderer
- JsVisitor
- Visitor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addSpaceAfterColon(): Unit
- var afterColon: Boolean
- var afterKey: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val colonSnippet: String
- Definition Classes
- BaseRenderer
- var commaBuffered: Boolean
- Definition Classes
- BaseRenderer
- var dashBuffered: Boolean
- var depth: Int
- Definition Classes
- BaseRenderer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- var firstElementInArray: Boolean
- def flushBuffer(): Unit
- Definition Classes
- PrettyYamlRenderer → BaseRenderer
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var leftHandPrefixOffset: Int
- def map[Z](f: (Writer) => Z): Visitor[Writer, Z]
- Definition Classes
- Visitor
- def mapNulls[Z](f: (Writer) => Z): Visitor[Writer, Z]
- Definition Classes
- Visitor
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var newlineBuffered: Boolean
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def renderIndent(): Unit
- Definition Classes
- BaseRenderer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- var topLevel: Boolean
- def visitArray(length: Int, index: Int): ArrVisitor[Writer, Writer] { def subVisitor: sjsonnet.PrettyYamlRenderer }
- Definition Classes
- PrettyYamlRenderer → BaseRenderer → Visitor
- def visitBinary(bytes: Array[Byte], offset: Int, len: Int, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
- def visitChar(s: Char, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
- def visitExt(tag: Byte, bytes: Array[Byte], offset: Int, len: Int, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
- def visitFalse(index: Int): Writer
- Definition Classes
- PrettyYamlRenderer → BaseRenderer → Visitor
- def visitFloat32(d: Float, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
- def visitFloat64(d: Double, index: Int): Writer
- Definition Classes
- PrettyYamlRenderer → BaseRenderer → JsVisitor → Visitor
- def visitFloat64String(s: String, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
- def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): Writer
- Definition Classes
- BaseRenderer → Visitor
- def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int): Writer
- Definition Classes
- JsVisitor
- def visitInt32(i: Int, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
- def visitInt64(i: Long, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
- def visitNull(index: Int): Writer
- Definition Classes
- PrettyYamlRenderer → BaseRenderer → Visitor
- def visitObject(length: Int, index: Int): ObjVisitor[Writer, Writer] { ... /* 2 definitions in type refinement */ }
- Definition Classes
- PrettyYamlRenderer → BaseRenderer → Visitor
- def visitString(s: CharSequence, index: Int): Writer
- Definition Classes
- PrettyYamlRenderer → BaseRenderer → Visitor
- def visitTrue(index: Int): Writer
- Definition Classes
- PrettyYamlRenderer → BaseRenderer → Visitor
- def visitUInt64(i: Long, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated