Most voted "json" questions
JSON (Javascript Object Notation - Javascript Object Notation) is a lightweight data exchange formatting. For humans, it is easy to read and write. For machines, it is easy to interpret and generate. It is based on a subset of the Javascript programming language, Standard ECMA-262 3rd Edition - December/1999.
Learn more…3,116 questions
Sort by count of
-
0
votes1
answer129
viewsSpring Security Oauth2 Plugin with Json Tokens
Can anyone tell me if the Spring Security Oauth2 plugin supports access tokens in JSON format instead of XML format? And if yes what needs to be done to make that change?
-
0
votes2
answers5750
viewsHow to catch a json on an external server with Javascript?
Hello guys I need to get a json with javascript on an external server! Someone knows how to do it?
-
0
votes3
answers845
viewsHow to view alphabetically - Cakephp
I’m listing neighborhoods, when I select instead of taking the list value, the json_encode is returning to her position. ex: -BARRIO I -WARD II If I select the "NEIGHBORHOOD II", it will return me:…
-
0
votes1
answer135
viewsERROR while trying to delete news (ANDROID JSON)
At this link teaches to list comments (in my case news) using external database. There is the download of the project. How can I delete a news by selecting and still make one appear Dialog asking…
-
0
votes1
answer875
viewsReturn json to a variable
I have a code in PHP that creates a json: <?php $array3 = array(array('0,1300', 'Thalita', 'Nicole')); echo json_encode($array3); ?> And I have another code that is in jQuery that forms a…
-
0
votes1
answer715
viewsJqgrid: Assign value to Postdata
I’m having trouble setting values in postData of a Jqgrid, below are the creation of the grid, the received JSON and the function that changes the value along with the reloadGrid. Creation of the…
-
0
votes2
answers2445
viewsJson is not getting the data
I’m doing some tests with ajax, and made a script very simple in php presented below: index.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <script…
-
0
votes1
answer3192
viewsChange radio button properties from select
Dear(s) I see myself in the following situation in which I cannot imagine a solution: We have a selection field in html containing some Brazilian states and the Federal District, when choosing an…
-
0
votes1
answer320
viewsSaving image data from json/web-service to sqlite on iphone
Hi! I wonder if Voce can help me, I’m trying to save an image in a sqlite bank, on iphone. But I’m not getting it. Briefly explaining how it works... The app connects to the server and receives the…
-
0
votes2
answers2612
viewsAssign JSON values to simple variables
I’m having trouble reading a JSON I receive: {"data":{"charges":{"data":{"charges":[{"code":10006756,"dueDate":"13/09/2014","link":"https://www.teste.com.br"}]},"success":true} I need to assign…
-
0
votes1
answer178
viewsHow to send and receive data to BD Mysql using PHP in Objective-C?
Scenario: Send and receive forms to a Mysql database using PHP. I wonder if anyone knows or has any link to a didactic and clear tutorial about these procedures, sending and receiving using JSON.…
-
0
votes2
answers1994
viewsHow to decode a JSON array [{},{}] on my android
How I turn this string in an array on my Android so I can manipulate it? [{"id":"1","login":"Admin","senha":"Admin","nome":"Admin","msg":"Eba","logado":"0"},…
-
0
votes1
answer125
viewsNan sInfo _TOTAL_datatable jquery/JSON
I have a problem in return of JSON in variable TOTAL that returns Nan is strange pq before the problem was in the variable END I removed and added END again and back to normal but, began Nan in the…
-
0
votes1
answer267
viewsPopulating DIV after selecting a data in the list
Could someone help me with this code? I assume I do not understand about 80%, I am trying to popular the INFO div after selecting one of the options in the SELECT field, this information will be…
-
0
votes2
answers525
viewsConvert search with Pymongo: Dictionary in JSON
I’m using Pymongo to make a search: resultado = db.find_one({'nome':'xpto'}) The result of this search is a Python dictionary, but I need to convert it to a JSON. What’s the best way to do it?…
-
0
votes1
answer728
viewsQuery $.get json and show result
I am sending an array for a query in a Mysql database via $.getJSON and in php I am mounting a table, but I am not being able to return and display this table, how can I do this? My code that sends…
-
0
votes1
answer188
viewsI get nothing from php on android
Good afternoon I have a problem. I can fetch all the information I have in the table, but when changing the code so that I only appear the information of a certain person error and returns no value…
-
0
votes1
answer720
viewsInsert selected records into another table
I need to export data from a table I have in our intranet to a table on the internet, I created a table where I show the events and in this the user can choose the ones that want to export through…
-
0
votes3
answers1119
viewsPHP is not displaying array output
I have the code: <?php $d = json_decode($output); ?> The variable $output sends json data to PHP. To better understand this variable, I will post the return of it object(stdClass)#1 (6) {…
-
0
votes2
answers117
viewsHow to return more than one property with JSON?
I would like to know how I return more than one property in PHP. Below is the code where I return the user name and wanted to return, in addition, his registration. I tried to do the same by adding…
-
0
votes1
answer1885
viewsWebservice almost 100% (Rest/json)
I have a problem that I can not solve T_T, after many searches I created a web service (test), to be consumed by an android application. The only function of it is to return a String, but I don’t…
-
0
votes1
answer82
viewsJSON API cache in Xcode
I want to cache my Wordpress JSON API in my app. I want a cache of tableview cells and UIWebView for when in airplane mode or off or with bad signal, the user can still see. I tried to cache with…
-
0
votes1
answer704
viewsApplication displaying this error: Error Parsing data org.json.Jsonexception
I was trying to make an application for android with connection to Mysql through webservice and has been giving some problems, so I could solve, but this appeared, when I try to see the products…
-
0
votes2
answers131
viewsHow to load multiple records into a Combo?
I need to create a functionality for a system that one can select multiple records in a Combo, but the problem is that I am loading over 5000 records and the browser is crashing. Is there any way to…
-
0
votes2
answers378
viewsExecute JS command using string
I have a command to take the size of my json, but I need to use a string to indicate which object I want to take the size: var comando = data.result[0][0].'Pedidos'.length; the mistake you give me…
-
0
votes1
answer872
viewsSearch JSON format information from a url
I have a url that when opened has the following json: [ { "Name" : "Alfreds Futterkiste", "City" : "Berlin", "Country" : "Germany" }, { "Name" : "Berglunds snabbköp", "City" : "Luleå", "Country" :…
-
0
votes1
answer336
viewsPOST (PHP) with JSON
Well, I researched an answer and couldn’t find one, so I decided to ask here. I was making a Login system with JSON and PHP that should send a POST through JSON but the variable "_POST" always…
-
0
votes0
answers72
viewsSend multiple Ids in one request
My app is a QR Code scanner that when it reads a QR from a device makes a request to the server by a JSON. In activity DeviceInfo.class That’s where I show you all the information I want on Qrcode…
-
0
votes3
answers637
viewsLeave paging fixed using jQuery datatable
I have a table and I’m using it datatable of jQuery, however, my table has a lot of column, and I did a scroll on it, but in this my paging scrolls along with the scroll, would have some way to…
-
0
votes1
answer281
viewsSpring MVC REST JSON
Having a problem, in my controller when I have some entity with relationship it does not return me the JSON, already try to put the @Jsonignore get us the entity references but nothing, follow the…
-
0
votes1
answer669
viewsAndroid - Listview with image via url, how to add one?
I’ve done several searches on how to add an image to an android listview item, I’m doing everything via JSON and by Asynctask but I’m having a hard time adding this image, someone has an example or…
-
0
votes1
answer449
views -
0
votes0
answers333
viewsSave Inputs from a Website to a Database
I’m a beginner in HTML, Javascript and the like. I need to save the user inputs of my site in a database. My pages, especially the registration page, was developed 100% in HTML. What I need to do is…
-
0
votes1
answer78
viewsDeserialize Json
How can I deserialize this json? I am learning now communication with web service and I have arisen this doubt, I managed to get the return of web service follows my code: private void…
-
0
votes1
answer157
viewsFix Table Title
I have a table that is generated using JSON: <div id="divResult" ></div> The script of the JSON: $.getJSON("@Url.Content("~/CadLevVisCont/ProcessaLevantamento")", { nmUF: catUF,…
-
0
votes2
answers905
viewsGoogle Maps with file_get_contents error. What can it be?
I am implementing Google Maps on a real estate site and I have a problem to solve: the request gives error of file_get_contents($url) ... Right in the middle of the code has the result of the…
-
0
votes1
answer30
viewsWhat is the correct notation to learn creating nodejs, Bower, and other configuration files?
What is the correct notation for specifying a JSON file that has multiple nested keys and brackets? see this in Bower, Grunt, nodejs, npm, etc. and various web development plugins.
-
0
votes1
answer87
viewsHow to popular a Jsonobject in hand?
I’m trying but not sure, I wanted to put it in the hand created, as if I had already received my JSON file. I tried to put the JSON structure inside Jsonobject but it didn’t work.
-
0
votes1
answer634
viewsCan you read a json and get all the strings without knowing what’s inside?
I’m making a dynamic form where I get one Json and create a dynamic form, everything is automated, except the part I have to extract each string of JSon and put inside a array.…
-
0
votes1
answer92
viewsHow to catch the Json string without knowing what’s in it?
I use jo.getString("name") to get the value of a Json file, it’s like I get this name without having to put the "name" inside getString?
-
0
votes0
answers67
viewsHow to prevent Jsonarray from organizing alphabetically?
I am taking the data of a Jsonarray and passing to another String, however in this process my data are getting in alphabetical order, and I would like it to be in the order of reading the Json file.…
-
0
votes1
answer783
viewsReturn with different values in JSON / PHP
Scenario: I have a query made in PHP and need to return it to my iOS app in JSON format. But when doing some tests, in the browser, I noticed that when using the function echo…
-
0
votes2
answers395
viewsHow to extract only 1 image from Json?
Hello, I need to extract only 1 image of this Json. Here is my angular code to pull the records from the api via get. var app = angular.module('myApp', []); app.controller('carrosCtrl',…
-
0
votes2
answers992
viewsHow to query the DB without refresh and write the returned data?
I need to query my database with something like AJAX/JSON I’m not sure and return the result within a div next to this map. There already exists a div next to receive the result of the consultation.…
-
0
votes1
answer598
viewsHow to insert values inside a key using List and JSON
I’m trying to do something that gives me a way out of this: [ { "Nome": "João", "Comprou": [ "Carro": "Sedan", "Preco": "12000", "Moto": "Honda", "Preco": "8000" ] } ] For this I use List and to…
-
0
votes2
answers1490
viewsHow to clear inputs after performing an ajax request?
I have an AJAX function that while loading the database information to feed the inputs is written "Loading...". If you do not find any information it continues with this loading written in inputs…
-
0
votes2
answers167
viewsBest Solution for Web Service Rest
I wanted to implement a Web Service that would provide data to mobile platforms (Android and iOS), someone knows the best service I can use for such? I’d rather it be something open source. I was…
-
0
votes1
answer226
viewsHow to resolve this error by returning from web service access?
I’m developing an app that consumes data from a web service and using Afnetworking to make the requisitions. During the testing phase the app worked and received the data normally. So I exported the…
-
0
votes1
answer37
viewsmount a json file on client-side or server-side?
the . json file I’m developing is entirely being mounted on the client-side, is that good practice? a part of the code: array.form[array.form.length - 1].perg.push({ numerodaperguntaSemPonto:…
-
0
votes2
answers494
viewsSave variable in Javascript and pass in getjSon URL
Good people I am new to Javascript, and I need to save the value of the matricule field in a variable and pass it in the URL of a getJson. How can I do that? Follow the code below the two functions:…