ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yakov Zhdanov <yzhda...@apache.org>
Subject Re: Using Jackson as JSON processor?
Date Wed, 16 Sep 2015 14:25:38 GMT
It seems this is not possible now. However, I suppose that we can easily
refactor GridJettyRestHandler to allow custom JSON serializers - just
introduce pluggable interface and set current impl as default. Can you help
us with this and contribute to Ignite?

--Yakov

2015-09-16 16:03 GMT+03:00 endian675 <mike@griggs.org.uk>:

> What I am actually trying to achieve is to achieve the @JsonAnySetter
> functionality from Jackson within Ignite, either by using Jackson directly
> or some other method.
>
> From some searching it seems that it might be possible to use a custom
> PropertySetStrategy inside json-lib in order to get the same behaviour, but
> I don't know if I will have access to the JsonConfig object in order to set
> that custom strategy.
>
> This custom strategy ignores missing properties (might be out of date now
> anyway) but I think the concept is similar to achieving @JsonAnySetter,
> even
> if the implementation is different.
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Using-Jackson-as-JSON-processor-tp1402p1403.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
View raw message