class BaseRenderer[T <: Writer] extends JsVisitor[T, T]
Vendored version of ujson.BaseRenderer
from ujson 1.2.3.
uJson has replaced this with a pair of byte/char specialized renderers for performance. For now, we just want to upgrade uJson to the latest version to avoid classpath conflicts, so just vendor this code for now. In the future we may remove it to interface with uJson's specialized renderers directly, to benefit from their improved performance.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- BaseRenderer
- JsVisitor
- Visitor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new BaseRenderer(out: T, indent: Int = -1, escapeUnicode: Boolean = false)
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(classOf[java.lang.CloneNotSupportedException]) @native()
- val colonSnippet: String
- var commaBuffered: Boolean
- var depth: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flushBuffer(): Unit
- final def getClass(): Class[_ <: AnyRef]
- 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: (T) => Z): Visitor[T, Z]
- Definition Classes
- Visitor
- def mapNulls[Z](f: (T) => Z): Visitor[T, Z]
- Definition Classes
- Visitor
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def renderIndent(): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def visitArray(length: Int, index: Int): ArrVisitor[T, T] { def subVisitor: sjsonnet.BaseRenderer[T] }
- Definition Classes
- BaseRenderer → Visitor
- def visitBinary(bytes: Array[Byte], offset: Int, len: Int, index: Int): T
- Definition Classes
- JsVisitor → Visitor
- def visitChar(s: Char, index: Int): T
- Definition Classes
- JsVisitor → Visitor
- def visitExt(tag: Byte, bytes: Array[Byte], offset: Int, len: Int, index: Int): T
- Definition Classes
- JsVisitor → Visitor
- def visitFalse(index: Int): T
- Definition Classes
- BaseRenderer → Visitor
- def visitFloat32(d: Float, index: Int): T
- Definition Classes
- JsVisitor → Visitor
- def visitFloat64(d: Double, index: Int): T
- Definition Classes
- BaseRenderer → JsVisitor → Visitor
- def visitFloat64String(s: String, index: Int): T
- Definition Classes
- JsVisitor → Visitor
- def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): T
- Definition Classes
- BaseRenderer → Visitor
- def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int): T
- Definition Classes
- JsVisitor
- def visitInt32(i: Int, index: Int): T
- Definition Classes
- JsVisitor → Visitor
- def visitInt64(i: Long, index: Int): T
- Definition Classes
- JsVisitor → Visitor
- def visitNull(index: Int): T
- Definition Classes
- BaseRenderer → Visitor
- def visitObject(length: Int, index: Int): ObjVisitor[T, T] { ... /* 2 definitions in type refinement */ }
- Definition Classes
- BaseRenderer → Visitor
- def visitString(s: CharSequence, index: Int): T
- Definition Classes
- BaseRenderer → Visitor
- def visitTrue(index: Int): T
- Definition Classes
- BaseRenderer → Visitor
- def visitUInt64(i: Long, index: Int): T
- Definition Classes
- JsVisitor → Visitor
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()