Questions tagged as 'json'

1
answer

How not to serialize some attributes in RESTful calls with Jersey and Jackson

I'm using the Jersey library in conjunction with the Jackson library to use REST-type web services. In calls, I usually use the following code that transforms a given entity into a JSON to be sent in the request body. Map<String, Object>...
asked by 31.01.2014 / 17:49
1
answer

error receiving JSON from url

Following the answer given to the question: Android: read JSON data That's exactly the same problem as mine, I got in class: package com.example.carlos.radiosingular.classes; import java.io.BufferedInputStream; import java.io.Buffered...
asked by 13.12.2018 / 13:48
1
answer

JSON Structure for HighChart Line

I would like to know what would be the correct structure for creating a LINE chart in HighCharts with dynamic data: Example link Home I have values that I want to show in a row, its evolution during the months, but I do not have all the months...
asked by 03.06.2014 / 18:56
0
answers

Generate JSON dynamically from android form

Context: I have a Cordova app that has SUS token forms with more than 30 fields that is sent to the server through JSON. I'm building a native android APP for the same function; Problem: I need to map the fields (EditText, Spinner, CheckB...
asked by 23.10.2018 / 18:41
0
answers

How to do multiple Thread in a Java Loop

Problem description I'm doing a Pokedex, in which one of its functions is to filter all pokemons of a certain type. I was able to implement this functionality, but the execution time is not good ... It takes about 25 seconds to go through...
asked by 03.11.2018 / 20:11
1
answer

How to send an array to a variable with Json

<!DOCTYPE html > <html> <head> <link rel="stylesheet" href="demos.css" type="text/css" media="screen" /> <script src="/sistema/jquery/plugins/RGraph/libraries/RGraph.common.core.js"></script> <scrip...
asked by 13.03.2015 / 14:52
4
answers

Upload file with AJAX

I would like to know if there is any simple way to upload files via AJAX + JSON. If there is one, what would it be?     
asked by 18.03.2014 / 18:55
1
answer

Return data from a JSON by ordering from a key

I have a JSON file where in the records I have a key that defines a date in the following format: " aaaammdd ". I need to return the existing records in this file but sort them through this key. How would that be? UPDATE: this is my file...
asked by 17.07.2014 / 06:58
1
answer

Alternative connection for WebService

Good afternoon! I have the following function: function API($conteudoAEnviar) { try{ $cabecalho = array( 'Content-Type: application/json', 'Authorization: Basic ' . base64_encode(TOTVS_JSON_USER_S...
asked by 03.09.2018 / 22:01
1
answer

Push notification on a local network (case without internet)

I've studied the GCM services to send and receive notifications for android , but I have the following question: If I am in a local environment, and the data server is in the same environment, is there any way I can work with the aut...
asked by 24.03.2014 / 13:49