toggle menu
Joyfill
2.0.0-RC8
common
switch theme
search in API
api
/
joyfill.response
Package-level
declarations
Types
Functions
Types
Failure
Response
Link copied to clipboard
@
Serializable
data
class
FailureResponse
(
val
statusCode
:
Int
,
val
error
:
String
,
val
message
:
String
)
Success
Response
Link copied to clipboard
@
Serializable
data
class
SuccessResponse
<
T
>
(
val
data
:
T
)
Functions
decode
Joyfill
Response
Link copied to clipboard
inline
fun
<
T
>
StringFormat
.
decodeJoyfillResponse
(
json
:
String
)
:
T
decode
Joy
List
Response
Link copied to clipboard
inline
fun
<
T
>
StringFormat
.
decodeJoyListResponse
(
json
:
String
)
:
List
<
T
>