Package dev.yidafu.jupyper
Class AnyToJsonElementKt
-
- All Implemented Interfaces:
public final class AnyToJsonElementKt
-
-
Method Summary
Modifier and Type Method Description final static JsonElementtoJsonElement(Object $self)covert basic type to JsonElement final static JsonElementtoJsonElement(Map<?, ?> $self)convert Map<*, *> to JsonObject final static JsonElementtoJsonElement(Collection<?> $self)convert Collection<*> to JsonArray final static JsonElementtoJsonElement(Array<?> $self)-
-
Method Detail
-
toJsonElement
final static JsonElement toJsonElement(Object $self)
covert basic type to JsonElement
-
toJsonElement
final static JsonElement toJsonElement(Map<?, ?> $self)
convert Map<*, *> to JsonObject
-
toJsonElement
final static JsonElement toJsonElement(Collection<?> $self)
convert Collection<*> to JsonArray
-
toJsonElement
final static JsonElement toJsonElement(Array<?> $self)
-
-
-
-