-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.7.2
-
Component/s: API
-
None
scala> com.mongodb.BasicDBObjectBuilder.start("key", new org.bson.types.Symbol("symbol")).get.toString
java.lang.RuntimeException: json can't serialize type : class org.bson.types.Symbol
at com.mongodb.util.JSON.serialize(JSON.java:261)
at com.mongodb.util.JSON.serialize(JSON.java:141)
at com.mongodb.util.JSON.serialize(JSON.java:58)
at com.mongodb.BasicDBObject.toString(BasicDBObject.java:84)