Questions tagged as 'json'

0
answers

HTTP Status 500 - Internal Server Error

After trying to make a call in Glasfish's WebService, the error below is occurring, I'm trying to make a call in Webservice Rest Json, in the so-called XML rest it runs normally. package br.com.devmedia.ws.rest.example1; import java.util.Random...
asked by 29.11.2018 / 13:55
0
answers

problems with PIC + SD + Excel

I'm having some problems here, what's happening is the following, I have a project that I need to simulate a school call on the PIC and make it save in Excel, the project requires that I can change the students' entrance and exit times , and als...
asked by 25.11.2018 / 05:30
1
answer

JSON error with Alphabetical index

I have 2 Arrays : Array (     [0] => Array         (             [0] => Amit             [1] => [email protected]         )     [1] => Array         (             [0] => Rahul             [1] => [email protected]         )...
asked by 30.11.2018 / 15:54
2
answers

error reading JSON

I have a code to read Json, in my test environment it works 100%, but when I change to read another Json with other settings it accuses Unexpected token COLON(:) at position 45. at org.json.simple.parser.JSONParser.parse(Unknown Source) at org...
asked by 30.11.2018 / 17:20
0
answers

How do I generate a JSON file to get variables in Javascript?

It's a Google extension in which I copy text from a page and generate a JSON with what it was copied, but I'm not sure how to do it correctly. I was able to do this part but I'm not sure if I have a JSON. chrome.contextMenus.onClicked.addListe...
asked by 23.11.2018 / 23:28
0
answers

Scan the whole page and create an Array with values

I have this screen: IneedtoscanthescreenbyclickingontheVenderbutton,andgettheCodigo,QuantidadeandValor,forproductsthatTotalAdicionadoisdifferentfromBranco,youcandothisandcreateanarraytoinsertintothedatabase?Thisisthescreencode:<divclass="...
asked by 20.11.2018 / 18:59
1
answer

Write a Json string in the database C #

I'm getting the data correctly, and getting them to separate correctly too, only problem is that I do not know how to use the values and be able to write to the database, could they help me? The image below shows how I'm getting the data and...
asked by 21.11.2018 / 13:53
1
answer

How to correct this error Json

I am collecting data from an Api that takes me back to the information in a Json dictionary to play in an appweb, so the server gives me this error, how can I do that to correct it? Error giving: Traceback (most recent call last): File "/...
asked by 14.11.2018 / 21:55
2
answers

Get Data in JSON structure with python

I want to access certain information in the JSON code below, with python: { "informacao1": valor_informação1, "informacao2": "{ dado=informação_dado }" print(arquivojson.get("informacao1")) The above print will display the line bel...
asked by 21.05.2017 / 16:42
0
answers

Login on Android using Rest Slim

I need help to make a comparison with the value returned from the function in PHP, in the application it shows this error: java.lang.NullPointerException Code on Android contactSelect = new JsonClassSelect().execute(new String[]{"http://...
asked by 18.11.2018 / 21:58