toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
io.github.freya022.botcommands.api.core.utils
/
DefaultObjectMapper
Default
Object
Mapper
object
DefaultObjectMapper
(
source
)
Members
Properties
list
Type
Link copied to clipboard
val
listType
:
CollectionType
lock
Link copied to clipboard
val
lock
:
ReentrantLock
mapper
Link copied to clipboard
val
mapper
:
ObjectMapper
map
Type
Link copied to clipboard
val
mapType
:
MapType
Functions
read
List
Link copied to clipboard
@
JvmStatic
fun
readList
(
input
:
InputStream
)
:
List
<
*
>
@
JvmStatic
fun
readList
(
input
:
ByteArray
)
:
List
<
*
>
@
JvmStatic
fun
readList
(
input
:
String
)
:
List
<
*
>
read
Map
Link copied to clipboard
@
JvmStatic
fun
readMap
(
input
:
InputStream
)
:
Map
<
String
,
*
>
@
JvmStatic
fun
readMap
(
input
:
ByteArray
)
:
Map
<
String
,
*
>
@
JvmStatic
fun
readMap
(
input
:
String
)
:
Map
<
String
,
*
>