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 ){
206
206
207
207
208
208
/**
209
- * Parses a JSON string into a DBObject.
209
+ * Parses a JSON string representing a JSON value
210
210
*
211
- * @param s the string to serialize
212
- * @return DBObject the object
211
+ * @param s the string to parse
212
+ * @return the object
213
213
*/
214
214
public static Object parse ( String s ){
215
215
return parse ( s , null );
216
216
}
217
217
218
218
/**
219
- * Parses a JSON string into a DBObject.
219
+ * Parses a JSON string representing a JSON value
220
220
*
221
- * @param s the string to serialize
222
- * @return DBObject the object
221
+ * @param s the string to parse
222
+ * @return the object
223
223
*/
224
224
public static Object parse ( String s , BSONCallback c ){
225
225
if (s == null || (s =s .trim ()).equals ("" )) {
You can’t perform that action at this time.
0 commit comments