Questions tagged [json-arrayagg]

55 questions
0
votes
1 answer

Write a JSON file with cubePosition Data to spawn a 10x10x10 cube

Here I'm trying to write a code that can write and create a JSON File for me with the data I provide like row, column and depth. For example, I need to spawn a 10 x 10 x 10 cube. And I give this data in unity Inspector also in the code when I'm…
IcyThug
  • 78
  • 1
  • 9
0
votes
0 answers

Iterate over Json response with Multiple JSONArray And JSONObject

{ "Response":"success", "errorText":null, "TotalBooks":null, "privateBookStore":{ "privateBooks":[ { "Shopid":76354, "Shopname":"xyz", "Term":null, "“Strategy":[ …
Yougandhara
  • 329
  • 1
  • 4
  • 15
0
votes
2 answers

I have a problem to use Volley. want to use POST method with some parameters and get Array type response but my response is not array type

I have a problem using Volley. want to use POST method with some parameters and get Array type response but my response is not an array type. Here, I share my request code and response. RequestQueue queue = Volley.newRequestQueue(this); …
0
votes
2 answers

Remove duplicates on MySQL JOIN query on JSON_ARRAYAGG with INNER JOIN

I have an app with users; the users can create bookmarks, and each bookmark can have multiple tags. So, if I'm not mistaken in the notation: user =* bookmark *=* tag Now I try to retrieve all users with a JSON array with the tags they used. I need a…
Emille C.
  • 562
  • 1
  • 7
  • 23
-1
votes
1 answer

mysql select performance json_arrayagg vs two queries

in mysql 8.0.23 case 1 select * from boards b where b.id = 11 select * from comments c where c.board_id = 11 case 2 select b.* , c.comments from boards b left outer join lateral ( select json_arrayagg(json_object( 'id', c.id, …
dne he
  • 1
-1
votes
1 answer

How to convert TSV data to JSON Object in java

TSV Data : Required OutPut : [{ candidates: { id:"agent_4", text = "can i get a confirmation code", count = 2}, { id:"agent_11", text = "text_2", count =3}, }] I got the similar question for JQ, but how can I achieve this in java? Convert TSV file…
nikom
  • 71
  • 1
  • 1
  • 10
-1
votes
1 answer

How do I access nested elements inside a json array in python

I want to iterate over the below json array to extract all the referenceValues and the corresponding paymentIDs into one { "payments": [{ "paymentID": "xxx", "externalReferences": [{ "referenceKind": "TRADE_ID", …
-1
votes
1 answer

unable to normalize the json data fully

I'm trying to normalize the below json data, but the data of "permissions" array is not getting normalized. I have used the "normalize" method of the pandas but not getting the desired output. I want all the data like ("permissions.id",…
Kunaal
  • 21
  • 3
-1
votes
1 answer

not able to do Convert.Deserialize

When i am trying to Deserialized Response data i am getting the error "Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'CModellassType' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize…
-3
votes
1 answer

How To Get Json object inside json object

My code snippet for nested json object: JsonArray arr = jsonObject.getAsJsonArray("data"); for(int i = 0; i < arr.size(); i++) { String _Id = arr.get(i).getAsJsonObject().get("_id").getAsString(); String Name =…
1 2 3
4