Class

ujson

BaseRenderer

Related Doc: package ujson

Permalink

class BaseRenderer[T <: Writer] extends Visitor[T, T]

Linear Supertypes
Visitor[T, T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseRenderer
  2. Visitor
  3. AnyRef
  4. 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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(t: Transformable): T

    Permalink
    Definition Classes
    Visitor
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val colonSnippet: String

    Permalink
  8. var commaBuffered: Boolean

    Permalink
  9. var depth: Int

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flushBuffer(): Unit

    Permalink
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def renderIndent(): Unit

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def visitArray(index: Int): ArrVisitor[T, T] { def subVisitor: ujson.BaseRenderer[T] }

    Permalink

    index

    json source position at the start of the [ being visited

    returns

    a Visitor used for visiting the elements of the array

    Definition Classes
    BaseRendererVisitor
  24. def visitArray(): ArrVisitor[T, T]

    Permalink

    Version of visitArray() without source index information.

    Version of visitArray() without source index information.

    returns

    a Visitor used for visiting the elements of the array

    Definition Classes
    Visitor
  25. def visitFalse(index: Int): T

    Permalink

    index

    json source position at the start of the false being visited

    Definition Classes
    BaseRendererVisitor
  26. def visitFalse(): T

    Permalink
    Definition Classes
    Visitor
  27. def visitNull(index: Int): T

    Permalink

    index

    json source position at the start of the null being visited

    Definition Classes
    BaseRendererVisitor
  28. def visitNull(): T

    Permalink
    Definition Classes
    Visitor
  29. def visitNum(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): T

    Permalink

    Visit the number in its text representation.

    Visit the number in its text representation.

    s

    unparsed text representation of the number.

    decIndex

    index of the ., relative to the start of the CharSequence, or -1 if omitted

    expIndex

    index of e or E relative to the start of the CharSequence, or -1 if omitted

    index

    json source position at the start of the number being visited

    Definition Classes
    BaseRendererVisitor
    See also

    Js.visitNum() for an example of parsing into numeric types

  30. def visitNum(s: CharSequence, decIndex: Int, expIndex: Int): T

    Permalink

    Visit the number in its text representation, without source index information.

    Visit the number in its text representation, without source index information.

    s

    unparsed text representation of the number.

    decIndex

    index of the ., relative to the start of the CharSequence, or -1 if omitted

    expIndex

    index of e or E relative to the start of the CharSequence, or -1 if omitted

    Definition Classes
    Visitor
    See also

    Js.visitNum() for an example of parsing into numeric types

  31. def visitNumRaw(d: Double, index: Int): T

    Permalink

    Optional handler for raw double values; can be overriden for performance in cases where you're translating directly between numbers to avoid the overhead of stringifying and re-parsing your numbers (e.g.

    Optional handler for raw double values; can be overriden for performance in cases where you're translating directly between numbers to avoid the overhead of stringifying and re-parsing your numbers (e.g. the WebJson transformer gets raw doubles from the underlying Json.parse).

    Delegates to visitNum if not overriden

    Unused by raw json parsers such as ByteBasedParser or CharBasedParser.

    d

    the input number

    index

    json source position at the start of the number being visited

    Definition Classes
    BaseRendererVisitor
  32. def visitNumRawString(s: String, index: Int): T

    Permalink

    Convenience methods to help you compute the decimal-point-index and exponent-index of an arbitrary numeric string

    Convenience methods to help you compute the decimal-point-index and exponent-index of an arbitrary numeric string

    s

    the text string being visited

    index

    json source position at the start of the string being visited

    Definition Classes
    Visitor
  33. def visitObject(index: Int): ObjVisitor[T, T] { def subVisitor: ujson.BaseRenderer[T] }

    Permalink

    index

    json source position at the start of the { being visited

    returns

    a ObjVisitor used for visiting the keys/values of the object

    Definition Classes
    BaseRendererVisitor
  34. def visitObject(): ObjVisitor[T, T]

    Permalink

    returns

    a ObjVisitor used for visiting the keys/values of the object

    Definition Classes
    Visitor
  35. def visitString(s: CharSequence, index: Int): T

    Permalink

    s

    the text string being visited

    index

    json source position at the start of the string being visited

    Definition Classes
    BaseRendererVisitor
  36. def visitString(s: CharSequence): T

    Permalink

    s

    the text string being visited

    Definition Classes
    Visitor
  37. def visitTrue(index: Int): T

    Permalink

    index

    json source position at the start of the true being visited

    Definition Classes
    BaseRendererVisitor
  38. def visitTrue(): T

    Permalink
    Definition Classes
    Visitor
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Visitor[T, T]

Inherited from AnyRef

Inherited from Any

Ungrouped