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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Renderer
- BaseRenderer
- JsVisitor
- Visitor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Renderer(out: Writer = new java.io.StringWriter(), indent: Int = -1)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
colonSnippet: String
- Definition Classes
- Renderer → BaseRenderer
-
var
commaBuffered: Boolean
- Definition Classes
- BaseRenderer
-
var
depth: Int
- Definition Classes
- BaseRenderer
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flushBuffer(): Unit
- Definition Classes
- Renderer → BaseRenderer
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
renderIndent(): Unit
- Definition Classes
- BaseRenderer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
visitArray(length: Int, index: Int): ArrVisitor[Writer, Writer] { def subVisitor: sjsonnet.Renderer }
- Definition Classes
- Renderer → 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
- BaseRenderer → Visitor
-
def
visitFloat32(d: Float, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
-
def
visitFloat64(d: Double, index: Int): Writer
- Definition Classes
- Renderer → 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
- BaseRenderer → Visitor
-
def
visitObject(length: Int, index: Int): ObjVisitor[Writer, Writer] { ... /* 2 definitions in type refinement */ }
- Definition Classes
- Renderer → BaseRenderer → Visitor
-
def
visitString(s: CharSequence, index: Int): Writer
- Definition Classes
- BaseRenderer → Visitor
-
def
visitTrue(index: Int): Writer
- Definition Classes
- BaseRenderer → Visitor
-
def
visitUInt64(i: Long, index: Int): Writer
- Definition Classes
- JsVisitor → Visitor
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()