|
|
|
@ -173,9 +173,10 @@ public class ItemTemplate {
@@ -173,9 +173,10 @@ public class ItemTemplate {
|
|
|
|
|
|
|
|
|
|
JSONObject obj_sparse_json = jsonObject.getJSONObject("obj_sparse_data"); |
|
|
|
|
|
|
|
|
|
for (String key : obj_sparse_json.keySet()) { |
|
|
|
|
String sparseValue = obj_sparse_json.getString(key); |
|
|
|
|
obj_sparse_data.put(key, sparseValue); |
|
|
|
|
for (Object key : obj_sparse_json.keySet()) { |
|
|
|
|
String sparseType = key.toString(); |
|
|
|
|
Object sparseValue = obj_sparse_json.get(sparseType); |
|
|
|
|
obj_sparse_data.put(sparseType, sparseValue.toString()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Banes are defined by their sparse data field
|
|
|
|
|