c

sjsonnet

Renderer

class Renderer extends BaseRenderer[Writer]

Custom JSON renderer to try and match the behavior of google/jsonnet's render:

- Custom printing of Doubles - Custom printing of empty dictionaries and arrays

Linear Supertypes
BaseRenderer[Writer], JsVisitor[Writer, Writer], Visitor[Writer, Writer], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Renderer
  2. BaseRenderer
  3. JsVisitor
  4. Visitor
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Renderer(out: Writer = new java.io.StringWriter(), indent: Int = -1)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. val colonSnippet: String
    Definition Classes
    Renderer → BaseRenderer
  7. var commaBuffered: Boolean
    Definition Classes
    BaseRenderer
  8. var depth: Int
    Definition Classes
    BaseRenderer
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def flushBuffer(): Unit
    Definition Classes
    Renderer → BaseRenderer
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def map[Z](f: (Writer) => Z): Visitor[Writer, Z]
    Definition Classes
    Visitor
  16. def mapNulls[Z](f: (Writer) => Z): Visitor[Writer, Z]
    Definition Classes
    Visitor
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. var newlineBuffered: Boolean
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def renderIndent(): Unit
    Definition Classes
    BaseRenderer
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def visitArray(length: Int, index: Int): ArrVisitor[Writer, Writer] { def subVisitor: sjsonnet.Renderer }
    Definition Classes
    Renderer → BaseRenderer → Visitor
  25. def visitBinary(bytes: Array[Byte], offset: Int, len: Int, index: Int): Writer
    Definition Classes
    JsVisitor → Visitor
  26. def visitChar(s: Char, index: Int): Writer
    Definition Classes
    JsVisitor → Visitor
  27. def visitExt(tag: Byte, bytes: Array[Byte], offset: Int, len: Int, index: Int): Writer
    Definition Classes
    JsVisitor → Visitor
  28. def visitFalse(index: Int): Writer
    Definition Classes
    BaseRenderer → Visitor
  29. def visitFloat32(d: Float, index: Int): Writer
    Definition Classes
    JsVisitor → Visitor
  30. def visitFloat64(d: Double, index: Int): Writer
    Definition Classes
    Renderer → BaseRenderer → JsVisitor → Visitor
  31. def visitFloat64String(s: String, index: Int): Writer
    Definition Classes
    JsVisitor → Visitor
  32. def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): Writer
    Definition Classes
    BaseRenderer → Visitor
  33. def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int): Writer
    Definition Classes
    JsVisitor
  34. def visitInt32(i: Int, index: Int): Writer
    Definition Classes
    JsVisitor → Visitor
  35. def visitInt64(i: Long, index: Int): Writer
    Definition Classes
    JsVisitor → Visitor
  36. def visitNull(index: Int): Writer
    Definition Classes
    BaseRenderer → Visitor
  37. def visitObject(length: Int, index: Int): ObjVisitor[Writer, Writer] { ... /* 2 definitions in type refinement */ }
    Definition Classes
    Renderer → BaseRenderer → Visitor
  38. def visitString(s: CharSequence, index: Int): Writer
    Definition Classes
    BaseRenderer → Visitor
  39. def visitTrue(index: Int): Writer
    Definition Classes
    BaseRenderer → Visitor
  40. def visitUInt64(i: Long, index: Int): Writer
    Definition Classes
    JsVisitor → Visitor
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from BaseRenderer[Writer]

Inherited from JsVisitor[Writer, Writer]

Inherited from Visitor[Writer, Writer]

Inherited from AnyRef

Inherited from Any

Ungrouped