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
JsVisitor[T, T], Visitor[T, T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseRenderer
  2. JsVisitor
  3. Visitor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BaseRenderer(out: T, indent: Int = -1, escapeUnicode: Boolean = false)

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

Inherited from JsVisitor[T, T]

Inherited from Visitor[T, T]

Inherited from AnyRef

Inherited from Any

Ungrouped