Well, how do you want to model it? You could use a...
# squarelibraries
j
Well, how do you want to model it? You could use a
Map<String, BunchOfProperties>
and runtime verify there's only a single entry. You could model it as
data class Something(val name: String, val stuff: BunchOfProperties)
and write a custom serializer that emits it as an object with a single key/value pair using the provided name.