skinny.util

JSONStringOps

trait JSONStringOps extends JsonMethods

Easy-to-use JSON String Operation.

Linear Supertypes
JsonMethods, JsonMethods[JValue], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JSONStringOps
  2. JsonMethods
  3. JsonMethods
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def asJValue[T](obj: T)(implicit writer: Writer[T]): JValue

    Definition Classes
    JsonMethods
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compact(value: JValue): String

    Returns JSON string value.

    Returns JSON string value.

    value

    value

    Definition Classes
    JSONStringOps → JsonMethods → JsonMethods
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromJSONString[A](json: String, underscoreKeys: Boolean = false)(implicit mf: Manifest[A]): Option[A]

    Extracts a value from JSON string.

    Extracts a value from JSON string. NOTE: When you convert to Map objects, be aware that underscoreKeys is false by default.

    A

    type

    json

    json string

    returns

    value

  14. def fromJValue[T](json: JValue)(implicit reader: Reader[T]): T

    Definition Classes
    JsonMethods
  15. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  18. implicit val jsonFormats: Formats

    JSON format support implicitly.

    JSON format support implicitly.

    Attributes
    protected
  19. def mapper: ObjectMapper

    Definition Classes
    JsonMethods
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def parse(in: JsonInput, useBigDecimalForDouble: Boolean): JValue

    Definition Classes
    JsonMethods → JsonMethods
  24. def parseOpt(in: JsonInput, useBigDecimalForDouble: Boolean): Option[JValue]

    Definition Classes
    JsonMethods → JsonMethods
  25. def prefixForJSONVulnerabilityProtection: String

    the prefix for JSON Vulnerability Protection.

    the prefix for JSON Vulnerability Protection. see: "https://docs.angularjs.org/api/ng/service/$http"

    Attributes
    protected
  26. def pretty(d: JValue): String

    Definition Classes
    JsonMethods → JsonMethods
  27. def render(value: JValue): JValue

    Definition Classes
    JsonMethods → JsonMethods
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toJSON(v: Any): JValue

    Converts a value to JSON value.

    Converts a value to JSON value.

    v

    value

    returns

    JValue

  30. def toJSONString(v: Any, underscoreKeys: Boolean = useUnderscoreKeysForJSON): String

    Converts a value to JSON string.

    Converts a value to JSON string.

    v

    value

    returns

    json string

  31. def toPrettyJSONString(v: Any, underscoreKeys: Boolean = useUnderscoreKeysForJSON): String

    Converts a value to prettified JSON string.

    Converts a value to prettified JSON string.

    v

    value

    returns

    json string

  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def useJSONVulnerabilityProtection: Boolean

    Use the prefix for JSON Vulnerability Protection.

    Use the prefix for JSON Vulnerability Protection. see: "https://docs.angularjs.org/api/ng/service/$http"

    Attributes
    protected
  34. def useUnderscoreKeysForJSON: Boolean

    Default key policy.

    Default key policy.

    Attributes
    protected
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonMethods

Inherited from JsonMethods[JValue]

Inherited from AnyRef

Inherited from Any

Ungrouped