object JsArrayParser extends Serializable
- Alphabetic
- By Inheritance
- JsArrayParser
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(arrayOfObjSpec: ArrayOfObjSpec): JsArrayParser
returns a parser that parses an input into an array of Json objects that must conform a specification
returns a parser that parses an input into an array of Json objects that must conform a specification
- arrayOfObjSpec
object to define the spec of the Json objects and other characteristics of the array
- returns
a Json array parser
-
def
apply(spec: JsArraySpec): JsArrayParser
returns a parser that parses an input into a Json array that must conform a specification.
returns a parser that parses an input into a Json array that must conform a specification. It's used to define the schema of tuples
- spec
specification of the Json array
- returns
a Json array parser
-
def
apply(predicate: JsArrayPredicate): JsArrayParser
returns a parser that parses an input into a Json array that must conform the predicate
returns a parser that parses an input into a Json array that must conform the predicate
- predicate
the predicate that will test the Json array
- returns
a Json array parser
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parse(str: String): Either[InvalidJson, JsArray]
parses a string into a Json array.
parses a string into a Json array. If the string doesn't represent a well-formed Json array, a MalformedJson failure wrapped in a Try computation is returned.
- str
a Json array serialized in a string
- returns
a try computation with the result
-
def
parse(bytes: Array[Byte]): Either[InvalidJson, JsArray]
parses an array of bytes into a Json array.
parses an array of bytes into a Json array. If the array of bytes doesn't represent a well-formed Json array, a MalformedJson 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
-
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, a MalformedJson 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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()