In places where the size/number of dependencies really matters we also embedded
(via Bnds conditionalpackage,
https://bnd.bndtools.org/instructions/conditionalpackage.html) the minimum
implementation provided by Felix Utils:
https://github.com/apache/felix-dev/tree/master/utils/src/main/java/or
Le ven. 3 juin 2022 à 11:46, Julian Reschke a écrit :
> ...I believe the answer is javax.json.
Yes, many "newer" Sling modules are using that.
I think the homegrown JSON code is here for historical reasons.
If someone wants to change that that's fine, but backwards
compatibility has to be prese
Am 03.06.2022 um 11:42 schrieb Christian Schneider:
I suspect we use a home grown serialisation to minimise dependencies but I
don't know.
So I would be interested in what others say.
What is our strategy/recommendation in sling when producing json?
Christian
I believe the answer is javax.json
I suspect we use a home grown serialisation to minimise dependencies but I
don't know.
So I would be interested in what others say.
What is our strategy/recommendation in sling when producing json?
Christian
Am Do., 2. Juni 2022 um 10:07 Uhr schrieb José Correia <
menesesj...@gmail.com>:
> Hello
Hello!
While working on the Distribution API I noticed some code smells that I
would like to discuss and see if we have a solution already implemented in
any Sling repository:
- *Java/JSON serialization*
Currently, we are implementing our own serializer in the form of a generic
utils class: