BetterModel
Toggle table of contents
1.11.4-SNAPSHOT-340
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.util.json
/
JsonObjectBuilder
/
jsonObject
json
Object
@
NotNull
open
fun
jsonObject
(
@
NotNull
name
:
@
NotNull
String
,
@
NotNull
consumer
:
@
NotNull
Consumer
<
JsonObjectBuilder
>
)
:
@
NotNull
JsonObjectBuilder
Adds JSON object
Return
self
Parameters
name
name
consumer
builder
@
NotNull
open
fun
jsonObject
(
@
NotNull
name
:
@
NotNull
String
,
@
Nullable
jsonObject
:
@
Nullable
JsonObject
)
:
@
NotNull
JsonObjectBuilder
Adds JSON object
Return
self
Parameters
name
name
json
Object
object