represents an immutable Json array. There are several ways of creating a Json array, being the most common the following:
- From a string, array of bytes or an input stream of bytes, using the parse functions of the companion object
- From the apply function of the companion object:
- Value parameters:
- seq
immutable seq of JsValue
- Companion:
- object
Value members
Inherited methods
Returns the element located at a specified path. This function is total on its argument. If no element is found, JsNothing is returned
Returns the element located at a specified path. This function is total on its argument. If no element is found, JsNothing is returned
- Value parameters:
- path
the path
- Returns:
the json value found at the path
- Inherited from:
- Json
returns true if the Json is non empty
returns true if the Json is non empty
- Returns:
true if non empty, false otherwise
- Inherited from:
- Json
- Inherited from:
- AbstractJsArray (hidden)
Returns a zero-argument function that when called, it serializes this Json into the given output stream, no returning anything
Returns a zero-argument function that when called, it serializes this Json into the given output stream, no returning anything
- Value parameters:
- outputStream
the output stream
- Returns:
() => Unit function that serializes this Json into the given output stream
- Inherited from:
- Json