I need help with saving JSON API data to a MongoDB collection. The JSON data I am working with has a structure like this:
compatibility: {
2.7.1: {
2.2.6: [
100,
1,
1
]
},
2.8.3: {
2.2.6: [
100,
2,
2
]
}
}
However, I am encountering an error that says: The dotted field '2.7.1' in 'compatibility.2.7.1' is not valid for storage.
Can anyone provide guidance on how to resolve this issue?