Hazelcast是否在缓存中支持基于JSON的对象? [英] Does Hazelcast support JSON-based objects in cache?
问题描述
如主题中所示:我找不到任何好的信息,Hazelcast是否可以支持将JSON对象存储为缓存数据?如果可以的话,是否允许基于某些类似于JSONPath/JPQL/SQL的表达式来查询此类对象?
As in the topic: I can't find any good information whether Hazelcast can support storing JSON objects as cache data? If so does it allow to query such objects basing on some JSONPath/JPQL/SQL-like expressions?
我可以看到Apache Geode(GemFire)确实支持以下功能: http://geode-docs.cfapps.io/docs/developing/data_serialization/jsonformatter_pdxinstances.html ,我想知道最大的竞争对手能否做到这一点.
I can see that Apache Geode (GemFire) does support such functionality: http://geode-docs.cfapps.io/docs/developing/data_serialization/jsonformatter_pdxinstances.html and I am wondering if the big rival can do the same.
推荐答案
A JSON support has been added in Hazelcast 3.12: https://docs.hazelcast.org/docs/latest/manual/html-single/#querying-json-strings
您可以检出合并的请求请求: https://github.com/hazelcast/hazelcast /pull/14307
You can checkout the merged pull request: https://github.com/hazelcast/hazelcast/pull/14307
这篇关于Hazelcast是否在缓存中支持基于JSON的对象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!