driver-core/src/main/com/mongodb/BasicDBObject.java
public static BasicDBObject parse(final String json) {
        return parse(json, DBObjectCodec.getDefaultRegistry().get(BasicDBObject.class));
    }
public static BasicDBObject parse(final String json) {
        return parse(json, DBObjectCodec.getDefaultRegistry().get(BasicDBObject.class));
    }
Parses a string in MongoDB Extended JSON format to a {@code BasicDBObject}.

@param json the JSON string
@return a corresponding {@code BasicDBObject} object
@see org.bson.json.JsonReader
@mongodb.driver.manual reference/mongodb-extended-json/ MongoDB Extended JSON