toMeta

fun JsonObject.toMeta(descriptor: MetaDescriptor? = null): SealedMeta
fun JsonElement.toMeta(descriptor: MetaDescriptor? = null): SealedMeta
fun Map<String, Any?>.toMeta(descriptor: MetaDescriptor? = null): Meta

Convert map of maps to meta. This method will recognize Meta, Map and List of all mentioned above as value. All other values will be converted to Value.