I am trying to export a certain set of records. but it errors claiming invalid JSON
mongoexport ... --type=csv --collection users --query '{"role": "Student"}' --out x.csv
error validating settings: query '[123 114 111 108 101 58 32 83 116 117 100 101 110 116 125]' is not valid JSON: invalid character 'S' looking for beginning of value
I dont know where the array of numbers is coming from - and the query is valid JSON
mongod --versionandmongoexport --version