File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ layout : post
3+ title : Fabric: A New JSON Library
4+ category : governance
5+
6+ meta :
7+ nav : blog
8+ author : Matt Hicks
9+ ---
10+
11+ I know what you're thinking! "A new JSON library? Why? Don't we have plenty of those?" Well, the short answer is a
12+ resounding yes, but this library was born of the frustrations felt using those existing libraries. Don't get me wrong,
13+ there are some great JSON libraries in Scala and it's not my purpose to disparage them. However, I assume others found
14+ the same frustrations I did with the existing libraries. This library benefited a great deal from the things I liked
15+ about the existing libraries and I went to great pains to make sure it didn't suffer from the same downsides they did.
16+
17+ Once I wrote the library I wanted to do some sanity-checking to make sure the performance wasn't substantially worse
18+ than the existing solutions. Much to my surprise, the initial performance was generally faster than Circe or uPickle.
19+ After some additional tuning, [ Fabric] [ fabric ] is outperforming the alternatives: [ Benchmarks] [ benchmarks ] ([ Source] [ benchmarks-source ] )
20+
21+ [ Check it out] [ fabric ] and please give feedback if there's anything we can do to improve it.
22+
23+ [ fabric ] : https://github.com/typelevel/fabric
24+ [ benchmarks ] : https://jmh.morethan.io/?source=https://raw.githubusercontent.com/typelevel/fabric/master/bench/results/benchmarks-1.7.0.json
25+ [ benchmarks-source ] : https://github.com/typelevel/fabric/tree/master/bench/src/main/scala/bench
You can’t perform that action at this time.
0 commit comments