mapbox-maps-android
mapbox-maps-android
/
com.mapbox.common
/
ValueConverter
Value
Converter
class
ValueConverter
Functions
Functions
from
Json
Link copied to clipboard
@
NonNull
open
fun
fromJson
(
@
NonNull
json
:
String
)
:
Expected
<
String
,
Value
>
Converts JSON string to a value.
to
Json
Link copied to clipboard
@
NonNull
open
fun
toJson
(
@
NonNull
value
:
Value
)
:
String
Converts value to a JSON string.
@
NonNull
open
fun
toJson
(
@
NonNull
value
:
Value
,
indent
:
Int
)
:
String
Converts value to a `human-readable` JSON string.