JSON

interface Json

Platform-independent utility for JSON serialization.

Inheritors

类型

Link copied to clipboard
object Companion : Json

函数

Link copied to clipboard
abstract fun fromJsonToMap(json: String): Map<String, Any?>

将 JSON 字符串解析为映射(map)。

Link copied to clipboard
abstract fun toJsonString(obj: Any?): String

将一个对象序列化为 JSON 字符串。