Packages

case class JsArrayParser(deserializer: ValueParser) extends Parser[JsArray] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Parser[JsArray], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsArrayParser
  2. Serializable
  3. Product
  4. Equals
  5. Parser
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsArrayParser(deserializer: ValueParser)

Value Members

  1. def parse(inputStream: InputStream): Try[JsArray]

    parses an input stream of bytes into a Json array that must conform the spec of the parser.

    parses an input stream of bytes into a Json array that must conform the spec of the parser. If the the input stream of bytes doesn't represent a well-formed Json array or is a well-formed Json that doesn't conform the spec of the parser, a ParsingException failure wrapped in a Try computation is returned. Any I/O exception processing the input stream is wrapped in a Try computation as well

    inputStream

    the input stream of bytes

    returns

    a try computation with the result

  2. def parse(str: String): Either[InvalidJson, JsArray]

    parses a string into a Json array that must conform the spec of the parser.

    parses a string into a Json array that must conform the spec of the parser. If the string doesn't represent a well-formed Json array or is a well-formed Json that doesn't conform the spec of the parser, a ParsingException failure wrapped in a Try computation is returned.

    str

    a Json array serialized in a string

    returns

    a try computation with the result

  3. def parse(bytes: Array[Byte]): Either[InvalidJson, JsArray]

    parses an array of bytes into a Json array that must conform the spec of the parser.

    parses an array of bytes into a Json array that must conform the spec of the parser. If the array of bytes doesn't represent a well-formed Json or is a well-formed Json that doesn't conform the spec of the parser, a ParsingException failure wrapped in a Try computation is returned.

    bytes

    a Json array serialized in an array of bytes

    returns

    a try computation with the result

  4. def productElementNames: Iterator[String]
    Definition Classes
    Product