how to represent nested JSON object in a case class using Json4s?
问题 Given an example JSON object with a nested object who's properties are unkown: { "Key":"01234", "eventProperties":{ "unknownProperty1":"value", "unknownProperty2":"value", "unknownProperty3":"value" }, } I have tried to use json4s' extract function with the following case class (In Scala): case class nestedClass(Key:String, eventProperties:Map[(String,Any)]) Which results in the following error: org.json4s.package$MappingException: Can't find constructor for nestedClass Is it possible to do