toggle menu
http4k
LOCAL
jvm
switch theme
search in API
http4k-format-moshi
/
org.http4k.format
/
MoshiArray
Moshi
Array
data
class
MoshiArray
(
val
elements
:
List
<
MoshiNode
>
)
:
MoshiNode
Members
Members & Extensions
Constructors
Moshi
Array
Link copied to clipboard
constructor
(
elements
:
List
<
MoshiNode
>
)
Properties
elements
Link copied to clipboard
val
elements
:
List
<
MoshiNode
>
Functions
as
A
Link copied to clipboard
fun
<
T
:
Any
>
MoshiNode
.
asA
(
target
:
KClass
<
T
>
)
:
T
as
Compact
Json
String
Link copied to clipboard
open
override
fun
MoshiNode
.
asCompactJsonString
(
)
:
String
as
Pretty
Json
String
Link copied to clipboard
open
override
fun
MoshiNode
.
asPrettyJsonString
(
)
:
String
unwrap
Link copied to clipboard
fun
MoshiNode
.
unwrap
(
)
:
Any
?