BetterModel
Toggle table of contents
1.10.2
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.data.raw
/
Datapoint
/
Parser
Parser
class
Parser
:
Function
<
T
,
R
>
,
JsonDeserializer
<
T
>
Parser
Members
Functions
and
Then
Link copied to clipboard
open
fun
<
V
>
andThen
(
p
:
(
in
R
)
->
out
V
)
:
(
T
)
->
V
apply
Link copied to clipboard
open
fun
apply
(
element
:
JsonElement
)
:
Datapoint
compose
Link copied to clipboard
open
fun
<
V
>
compose
(
p
:
(
in
V
)
->
out
T
)
:
(
V
)
->
R
deserialize
Link copied to clipboard
open
fun
deserialize
(
json
:
JsonElement
,
typeOfT
:
Type
,
context
:
JsonDeserializationContext
)
:
Datapoint
identity
Link copied to clipboard
open
fun
<
T
>
identity
(
)
:
(
T
)
->
T