Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Neeraj Bhatt neeraj2681

I may be slow to respond.
View GitHub Profile
neeraj2681 /
Created Aug 29, 2019 — forked from JaiHirsch/
MongoDB 3.0 java driver Codec example - Codec class for the mapping the Grades bean
package org.scratch;
import org.bson.BsonReader;
import org.bson.BsonString;
import org.bson.BsonValue;
import org.bson.BsonWriter;
import org.bson.Document;
import org.bson.codecs.Codec;
import org.bson.codecs.CollectibleCodec;
import org.bson.codecs.DecoderContext;