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