Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Test Results

Write 1000 charactersWrite 0.567 microseconds5.12 1.332 microseconds14.884
ParserRead 40 charactersWrite 40 characters Read 100 characters 100 charactersRead 1000 charactersIssues
Jackson Read7.488 microseconds0.296 microseconds10.984 microseconds microseconds50.49 microseconds
GSON Read0.509 microseconds0.531 microseconds0.818 microseconds microseconds8.212 microsecondsGSON parses all numerical values to Doubles and as such it unable to dynamically allocate the object type that it is parsing 
Jackson Write0.296 microseconds0.567 microseconds5.12 microseconds
GSON Write0.531 microseconds1.332 microseconds14.884 microseconds


ParserProsCons
Jackson

Consistent conversion of numerics
More widely used
Faster writes ****
Built into Spring Framework
Has annotation support

Slower Read
GSONFaster Reads

Converts numerics to Doubles
Less Popular






...