]
Galder Zamarreño reassigned HRJS-50:
------------------------------------
Assignee: Galder Zamarreño
Support working directly with JSON objects
------------------------------------------
Key: HRJS-50
URL:
https://issues.jboss.org/browse/HRJS-50
Project: Infinispan Javascript client
Issue Type: Enhancement
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
The client should be able to store and retrieve JSON objects without the user having to
transform data manually.
From a storage perspective, the client should detect that JSON objects are passed in, and
for the time being, convert those to a binary format of choice and sent those to the
server. One quick option is to convert to String and that to UTF-8 (as the client
currently does). More options will be available in the future.
When reading, the user should be to instruct the client how to read the data, e.g.
client.as(JSON) or client.as(String)... and let the client transform the data read and
pass it back to the user.