ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: How to put a POJO bean value to cache by rest api?
Date Thu, 24 Mar 2016 03:45:21 GMT
Tony,

If you put JSON string through HTTP REST API, it will be stored in the cache
as a string. Essentially, the REST server is not aware of the TestBean type
and therefore doesn't try to parse it. When reading the cache, you should
get a string and parse it on the client side (note that with this approach
you don't even need to deploy your classes to the server). Will this work
for you?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-put-a-POJO-bean-value-to-cache-by-rest-api-tp3639p3651.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message