File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/main/com/mongodb/util Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -206,20 +206,20 @@ public static void serialize( Object o , StringBuilder buf ){
206206
207207
208208 /**
209- * Parses a JSON string into a DBObject.
209+ * Parses a JSON string representing a JSON value
210210 *
211- * @param s the string to serialize
212- * @return DBObject the object
211+ * @param s the string to parse
212+ * @return the object
213213 */
214214 public static Object parse ( String s ){
215215 return parse ( s , null );
216216 }
217217
218218 /**
219- * Parses a JSON string into a DBObject.
219+ * Parses a JSON string representing a JSON value
220220 *
221- * @param s the string to serialize
222- * @return DBObject the object
221+ * @param s the string to parse
222+ * @return the object
223223 */
224224 public static Object parse ( String s , BSONCallback c ){
225225 if (s == null || (s =s .trim ()).equals ("" )) {
You can’t perform that action at this time.
0 commit comments