<When parsing json to Document why mapKeyDotReplac...
# stackoverflow
u
When parsing json to Document why mapKeyDotReplacement doesnt work I use mapKeyDotReplacement in settings spring boot: @Configuration class MongoConfig : AbstractMongoClientConfiguration() { //some code ... @Autowired fun setMapKeyDotReplacement(mongoConverter: MappingMongoConverter) { mongoConverter.setMapKeyDotReplacement("#") } } I try parce json string (that have DOT in key) to Document: //get json data var jsonString: String! = ad.rawResponse //parse json to Document (json has dot in key name) val document: Document! =...