toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-dash-config
/
com.mapbox.dash.sdk.config.serialization
/
DashConfigToJsonEncoder
Dash
Config
To
Json
Encoder
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
DashConfigToJsonEncoder
(
context
:
Context
,
prettyPrint
:
Boolean
=
false
)
Json encoder for DashConfig.
Members
Constructors
Dash
Config
To
Json
Encoder
Link copied to clipboard
constructor
(
context
:
Context
,
prettyPrint
:
Boolean
=
false
)
Functions
encode
To
String
Link copied to clipboard
fun
encodeToString
(
cfg
:
DashConfig
)
:
String