bson/src/main/org/bson/RawBsonDocument.java
public static RawBsonDocument parse(final String json) {
        notNull("json", json);
        return new RawBsonDocumentCodec().decode(new JsonReader(json), DecoderContext.builder().build());
    }
public static RawBsonDocument parse(final String json) {
        notNull("json", json);
        return new RawBsonDocumentCodec().decode(new JsonReader(json), DecoderContext.builder().build());
    }
Parses a string in MongoDB Extended JSON format to a {@code RawBsonDocument}

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