I've got a data file with hundreds of records that look like this:
{
"roadInfo": {
"roadId": "1",
"roadName": "Airport Boulevard",
"laneCount": 5
},
data:123
},
{
"roadInfo": {
"roadId": "1",
"roadName": "Airport Boulevard",
"laneCount": 5
},
data:123
}
.
.
.
.
.
.
n
Currently, I'm manually inserting this JSON payload into a MongoDB collection. Is there a way to automate this process? Any suggestions or tips would be greatly appreciated.