Class

ujson

StringRenderer

Related Doc: package ujson

Permalink

case class StringRenderer(indent: Int = 1, escapeUnicode: Boolean = false) extends BaseRenderer[StringWriter] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, BaseRenderer[StringWriter], Visitor[StringWriter, StringWriter], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringRenderer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BaseRenderer
  7. Visitor
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringRenderer(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): StringWriter

    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
    Definition Classes
    BaseRenderer
  8. var commaBuffered: Boolean

    Permalink
    Definition Classes
    BaseRenderer
  9. var depth: Int

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

    Permalink
    Definition Classes
    AnyRef
  11. val escapeUnicode: Boolean

    Permalink
  12. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. val indent: Int

    Permalink
  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
    Definition Classes
    BaseRenderer
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def visitArray(index: Int): ArrVisitor[StringWriter, StringWriter] { def subVisitor: ujson.BaseRenderer[java.io.StringWriter] }

    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
  23. def visitArray(): ArrVisitor[StringWriter, StringWriter]

    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
  24. def visitFalse(index: Int): StringWriter

    Permalink

    index

    json source position at the start of the false being visited

    Definition Classes
    BaseRendererVisitor
  25. def visitFalse(): StringWriter

    Permalink
    Definition Classes
    Visitor
  26. def visitNull(index: Int): StringWriter

    Permalink

    index

    json source position at the start of the null being visited

    Definition Classes
    BaseRendererVisitor
  27. def visitNull(): StringWriter

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

    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

  29. def visitNum(s: CharSequence, decIndex: Int, expIndex: Int): StringWriter

    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

  30. def visitNumRaw(d: Double, index: Int): StringWriter

    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
  31. def visitNumRawString(s: String, index: Int): StringWriter

    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
  32. def visitObject(index: Int): ObjVisitor[StringWriter, StringWriter] { def subVisitor: ujson.BaseRenderer[java.io.StringWriter] }

    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
  33. def visitObject(): ObjVisitor[StringWriter, StringWriter]

    Permalink

    returns

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

    Definition Classes
    Visitor
  34. def visitString(s: CharSequence, index: Int): StringWriter

    Permalink

    s

    the text string being visited

    index

    json source position at the start of the string being visited

    Definition Classes
    BaseRendererVisitor
  35. def visitString(s: CharSequence): StringWriter

    Permalink

    s

    the text string being visited

    Definition Classes
    Visitor
  36. def visitTrue(index: Int): StringWriter

    Permalink

    index

    json source position at the start of the true being visited

    Definition Classes
    BaseRendererVisitor
  37. def visitTrue(): StringWriter

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BaseRenderer[StringWriter]

Inherited from Visitor[StringWriter, StringWriter]

Inherited from AnyRef

Inherited from Any

Ungrouped