Parse platform Parse.com查询JSON对象

Parse platform Parse.com查询JSON对象,parse-platform,Parse Platform,如果我将数据作为JSON对象存储在Parse.com上,是否可以对其进行查询?例如,我有一个列“subject”,其中的数据存储为对象: { "type": "cal", "action": "add", "id": "123" } 我想查询与subject.type=“cal”匹配的记录。可能吗 String subname = "\"type\": \"cal\""; String[] names = {subname}; query.whereContainedIn(

如果我将数据作为JSON对象存储在Parse.com上,是否可以对其进行查询?例如,我有一个列“subject”,其中的数据存储为对象:

{
  "type": "cal",
  "action": "add",
  "id": "123"
}
我想查询与
subject.type=“cal”
匹配的记录。可能吗

String subname = "\"type\": \"cal\"";    
String[] names = {subname};
query.whereContainedIn("columnname", Arrays.asList(names));
您可以使用上面的代码来帮助您在json中查找type=“cal”主题。 其中containedIn方法将帮助您,数组字符串在列中是否可用。 用于使用“字符串中的双qoutes”