I tried to insert a json
{"Name" : "abc", "Age" : 28}
.
When I retrieve back the doc using Java, I got
FindIterable<Doc> {"Name:" "abc", "Age" : 28.0}
.
Is there a way to disable this type of conversion from int to float in mongodb, other than inputting as NumberInt()
?