@@ -82,7 +82,7 @@ proto.serialize = function(explain) {
klass.createFromJson = function(jsonElement, ctx) {
var out = new GeoNearDocumentSource(ctx);
- out.parseOptions(JSON.parse(jsonElement));
+ out.parseOptions(jsonElement);
return out;
};