unic/neba

Consider DSL-JSON as an alternative to Jackson / GSon

olaf-otto opened this issue · 1 comments

Micro benchmarks, e.g. https://github.com/fabienrenaud/java-json-benchmark, clearly show a significant performance advantage of DSL-JSON (https://github.com/ngs-doo/dsl-json) when compared to virtually any other library. It might be worthwhile to assess whether DSL-JSON can be easily embedded and used for NEBA's JSON rendering.

The issue here is compatibility. NEBA is using the Jackson libraries shipped with Sling / AEM and attempts to stay as close as possible to the behavior of the Sling Exporter framework. Migrating to DSL-JSON would mean taking an entirely different approach.
Furthermore, Jackson's performance is not to far off from DSL-JSON to justify such a deviation.
Closing as won't fix.