<JSON reader Kotlin> How can I read JSON file into...
# stackoverflow
u
JSON reader Kotlin How can I read JSON file into more than one documents and save it in Mongo DB. I have two models: @Document data class Person(val name: String){ @Id private val id : String? = null And: @Document data class Floor (private var floorName: StoreyEnum, private val roomNumber: String private val personName: String){ @Id private val id : String? = null} I have JSON file in which I have fields to both models.