com.mongodb.util.JSON json =new JSON();
String serializedCursor = json.serialize(cursor);
com.fasterxml.jackson.databind.JsonNode jsonData = play.libs.Json.parse(serializedCursor);
Done!!
com.mongodb.util.JSON json =new JSON();
String serializedCursor = json.serialize(cursor);
com.fasterxml.jackson.databind.JsonNode jsonData = play.libs.Json.parse(serializedCursor);
No comments:
Post a Comment