root

fun root(): Any?

Return the resulting representation of the Json as a Kotlin type. Most of the times, it will be a Map but MapJsonWriter also support writing lists and scalars at the root of the json