Questions tagged as 'jsonarray'

1
answer

Go through an array of JSON objects in Android Studio

I get the following JSON link [{"ProdutosidProduto":"1","Produtostipo":"mp","Produtosmodelo":"F540 2 BAN.PNEU. 100 X 60","Produtosbandejas":"2","Produtospeso":"0","Produtosprensagem":"0","ProdutosprecoUnitario":"6500","Produtoscomprimento":"10...
asked by 12.12.2018 / 14:22
0
answers

Error optJSONArray

I have this error, following an updated tutorial on the net I came across this error, but it was not supposed to be occurring, the error generated is 2 errors :app:compileDebugJavaWithJavac FAILED FAILURE: Build failed with an exception. * W...
asked by 26.08.2018 / 02:51
1
answer

Problems adding JsonObject to JsonArray

import javax.json.Json; import javax.json.JsonArray; import javax.json.JsonObject; import javax.json.JsonValue; ... JsonObject object = Json.createObjectBuilder().build(); JsonArray array = Json.createArrayBuilder().build(); JsonA...
asked by 16.04.2018 / 17:31