Class BsonJavaScriptWithScopeCodec

java.lang.Object
org.bson.codecs.BsonJavaScriptWithScopeCodec
All Implemented Interfaces:
Codec<BsonJavaScriptWithScope>, Decoder<BsonJavaScriptWithScope>, Encoder<BsonJavaScriptWithScope>

public class BsonJavaScriptWithScopeCodec extends Object implements Codec<BsonJavaScriptWithScope>
A Codec for BsonJavaScriptWithScope instances.
Since:
3.0
  • Constructor Details

    • BsonJavaScriptWithScopeCodec

      public BsonJavaScriptWithScopeCodec(Codec<BsonDocument> documentCodec)
      Construct a new instance with the given codec to use for the nested document
      Parameters:
      documentCodec - the non-null codec for the nested document
  • Method Details