Skip to content

mmimica/async-jackson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ajackson

A library that provides non-blocking parsing behaviour for jackson parser.

async mapper example

Use Jackson's non-blocking parser for async non-blocking parsing. Use jackson mapper for superb mapping features.

Consumer<JsonNode> callback = (jsonRoot) -> {
    Model model = mapper.treeToValue(jsonRoot, Model.class);
};
AsyncJsonParser parser = new AsyncJsonParser(callback);

// ... in some other thread
parser.feed(bytes)

About

Non-blocking jackson interface using actson lib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages