kmongo / org.litote.kmongo / kotlin.String / bson

bson

val String.bson: BsonDocument (source)

Get the org.bson.BsonValue of this string.

Exceptions

Exception - if the string content is not a valid json document format