|
Project Information
Featured
Downloads
|
OverviewJson-smart is a performance focused, JSON processor lib. Getting Start guide Json-smart interfaces are almost the same that json-simple, So migration from json-simple to json-smart, is very easy. Migration Guide Available Json-smart is one of the fastest java base Json API. See bench for more details. Benchmarks json-smart overview
<dependency> <groupId>net.minidev</groupId> <artifactId>json-smart</artifactId> <version>1.1.1</version> </dependency> Lasts changescurrent stable version: 1.1.1 current V2 version is available on Maven central: <dependency> <groupId>net.minidev</groupId> <artifactId>json-smart</artifactId> <version>2.0-RC2</version> </dependency>
Study caseI use this parser to process small json data stored in MySQL String records, limited to 255 chars. In my case, every record contains simple JSon Object like: {"first":"john", "last":"Doe"} # 30 chars longI have rewritten the generator and the parser to also support smaller json data: {first:john,last:Doe} # 21 chars longSo, I was able to reduce the json data size by 30% Generation of simplified json string is only supported by the full json-smart version. Features
ReferencesSamples |