com.codahale.jerkson

Json

trait Json extends Parser with Generator

Linear Supertypes
Generator, Parser, Factory, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Json
  2. Generator
  3. Parser
  4. Factory
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Type Members

  1. type JArray = JArray

  2. type JBoolean = JBoolean

  3. type JDecimal = JDecimal

  4. type JField = JField

  5. type JFloat = JFloat

  6. type JInt = JInt

  7. type JNumber = JNumber

  8. type JObject = JObject

  9. type JString = JString

  10. type JValue = JValue

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. val JArray: com.codahale.jerkson.AST.JArray.type

  7. val JBoolean: com.codahale.jerkson.AST.JBoolean.type

  8. val JDecimal: com.codahale.jerkson.AST.JDecimal.type

  9. val JField: com.codahale.jerkson.AST.JField.type

  10. val JFloat: com.codahale.jerkson.AST.JFloat.type

  11. val JInt: com.codahale.jerkson.AST.JInt.type

  12. val JNull: com.codahale.jerkson.AST.JNull.type

  13. val JObject: com.codahale.jerkson.AST.JObject.type

  14. val JString: com.codahale.jerkson.AST.JString.type

  15. val JUndefined: com.codahale.jerkson.AST.JUndefined.type

  16. val JValue: com.codahale.jerkson.AST.JValue.type

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def canDeserialize[A](implicit mf: Manifest[A]): Boolean

    Returns true if the given class is deserializable.

    Returns true if the given class is deserializable.

    Definition Classes
    Parser
  19. def canSerialize[A](implicit mf: Manifest[A]): Boolean

    Returns true if the given class is serializable.

    Returns true if the given class is serializable.

    Definition Classes
    Generator
  20. val classLoader: ClassLoader

    Attributes
    protected
  21. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  24. val factory: MappingJsonFactory

    The JsonFactory to be used by Parser and Generator.

    The JsonFactory to be used by Parser and Generator.

    Attributes
    protected
    Definition Classes
    JsonFactory
  25. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def generate[A](obj: A, output: File): Unit

    Generate JSON from the given object and write it to the given File.

    Generate JSON from the given object and write it to the given File.

    Definition Classes
    Generator
  27. def generate[A](obj: A, output: OutputStream): Unit

    Generate JSON from the given object and write it to the given OutputStream.

    Generate JSON from the given object and write it to the given OutputStream.

    Definition Classes
    Generator
  28. def generate[A](obj: A, output: Writer): Unit

    Generate JSON from the given object and write to the given Writer.

    Generate JSON from the given object and write to the given Writer.

    Definition Classes
    Generator
  29. def generate[A](obj: A): String

    Generate JSON from the given object and return it as a string.

    Generate JSON from the given object and return it as a string.

    Definition Classes
    Generator
  30. final def getClass(): java.lang.Class[_]

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

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

    Definition Classes
    Any
  33. val mapper: ObjectMapper

    The ObjectMapper to be used by Parser and Generator.

    The ObjectMapper to be used by Parser and Generator.

    Attributes
    protected
    Definition Classes
    JsonFactory
  34. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  37. def parse[A](input: JsonNode)(implicit mf: Manifest[A]): A

    Parse a JSON node as a particular type.

    Parse a JSON node as a particular type.

    Definition Classes
    Parser
  38. def parse[A](input: Source)(implicit mf: Manifest[A]): A

    Parse a JSON Source as a particular type.

    Parse a JSON Source as a particular type.

    Definition Classes
    Parser
  39. def parse[A](input: Array[Byte])(implicit mf: Manifest[A]): A

    Parse a JSON byte array as a particular type.

    Parse a JSON byte array as a particular type.

    Definition Classes
    Parser
  40. def parse[A](input: Reader)(implicit mf: Manifest[A]): A

    Parse a JSON Reader as a particular type.

    Parse a JSON Reader as a particular type.

    Definition Classes
    Parser
  41. def parse[A](input: URL)(implicit mf: Manifest[A]): A

    Parse a JSON URL as a particular type.

    Parse a JSON URL as a particular type.

    Definition Classes
    Parser
  42. def parse[A](input: File)(implicit mf: Manifest[A]): A

    Parse a JSON file as a particular type.

    Parse a JSON file as a particular type.

    Definition Classes
    Parser
  43. def parse[A](input: InputStream)(implicit mf: Manifest[A]): A

    Parse a JSON input stream as a particular type.

    Parse a JSON input stream as a particular type.

    Definition Classes
    Parser
  44. def parse[A](input: String)(implicit mf: Manifest[A]): A

    Parse a JSON string as a particular type.

    Parse a JSON string as a particular type.

    Definition Classes
    Parser
  45. def stream[A](input: Reader)(implicit mf: Manifest[A]): Iterator[A]

    Parse a streaming JSON array of particular types, returning an iterator of the elements of the stream.

    Parse a streaming JSON array of particular types, returning an iterator of the elements of the stream.

    Definition Classes
    Parser
  46. def stream[A](input: InputStream)(implicit mf: Manifest[A]): Iterator[A]

    Parse a streaming JSON array of particular types, returning an iterator of the elements of the stream.

    Parse a streaming JSON array of particular types, returning an iterator of the elements of the stream.

    Definition Classes
    Parser
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def toString(): String

    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Generator

Inherited from Parser

Inherited from Factory

Inherited from AnyRef

Inherited from Any