Skip to content

Light-weight, good performing java bson writer with facade for the fasterxml jackson JsonGenerator

Notifications You must be signed in to change notification settings

robertsmit/light-bson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

light-bson

Light-weight, good performing java bson generator with facade for the jackson JsonGenerator.

BsonGeneratorFactory lightBson = new BsonGeneratorFactory();
ByteArrayOutputStream out = new ByteArrayOutputStream();
com.fasterxml.jackson.core.JsonGenerator generator = lightBson.createGenerator(out);

generator.writeStartObject();
generator.writeFieldName("BSON");
generator.writeStartArray();
generator.writeString("awesome");
generator.writeNumber(5.05);
generator.writeNumber(1986);
generator.writeEndArray();
generator.writeEndObject();
generator.close();

About

Light-weight, good performing java bson writer with facade for the fasterxml jackson JsonGenerator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages