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
answer98
viewsRecover Json Value
I am including on my website my Youtube channel with the videos. But there is a part of Json that I’m not getting back. I’m doing like this: $.each($feed.items, function(i,item){ var url =…
-
0
votes1
answer181
viewsHow to catch multiple JSON Arrays on a JSON Array with Rest Template?
Hello, I am having collect information from various JSON’s Array within a JSON Array, which follows below, with Rest Template: { "dataset":{ "id":10051093, "dataset_code":"SN2017",…
-
0
votes0
answers1078
viewsAPI access on port 443 returning Connection timed out
I’m setting up a webAPI and after configuring everything (id, key, Signature, other data the api asks for) and authenticate by HEADER in php using json and CURL to post on the site the return is…
-
0
votes1
answer1262
viewsPick up json value
The server contains a.txt file (http://192.168.27. 3/list.txt) with the following information: [ { "Nome": "Hemerson", "data": "05/11", }, { "Nome": "Hemerson", "data": "06/11", } ] I am wanting to…
-
0
votes2
answers154
viewsTransforming a data structure into javascript
Hello, I have the following data structure: [ {id:1,idforeign:2,nome:'etc'}, {id:2,idforeign:2,nome:'etc'}, {id:3,idforeign:3,nome:'outro'}, {id:4,idforeign:3,nome:'outro'} ] I’d like to turn to…
-
0
votes1
answer59
viewsConvert JSON to map
I’m getting a json in key :body of the answer using a request clj-http. How to transform this json in map?
-
0
votes1
answer111
viewsHow to create Array with BD content
I’m trying to create an array with the contents of a tabela of my banco but somehow, I tried to do this: // ATRIBUI UMA CONEXÃO PDO $pdo = Conexao::getInstance(); // ATRIBUI UMA INSTÂNCIA DA CLASSE…
-
0
votes1
answer39
viewsLabel Indefinite Graphic with Flot and PHP
Using Flot to generate the graphics in pie format, the graph is generated with the values in percentage, but the Labels are displayed with 'Undefined'. $(document).ready(function () { var chartError…
-
0
votes1
answer221
viewsForm with Ajax / Json / PHP
all right ? could you help me with the following problem. I see a lot of people talking about creating Formulars with Json / Ajax and all that, but like, I’m pretty much on the outside of it yet.…
-
0
votes1
answer528
viewsGoogle Maps Geolocation API
I’m willing to check the status my client is in to show the nearby establishments in that region. How do I get this information through Google Maps Geolocation API? There’s another better way? The…
-
0
votes0
answers39
viewsDocument structure
Hello, I’m starting to learn Mongodb, and I have a question I haven’t found anywhere: Documents from the same collection may have different structures. Example: { "id": "1", "name": "John" }, {…
-
0
votes1
answer469
viewsListbox with JSON data - Delphi mobile
I have that data JSON that returns from a webservice query: [{ "id":"1", "usuario":"teste", "senha":"teste", "chave":"d59876jh", "email":"[email protected]" }] I need to populate the Items of a…
-
0
votes0
answers236
viewsHow to modify a JSON file with Javascript?
I am using the Mapbox. When you click on a Poligono appears the name of the person who lives in the city. But I want when I click to change the name of the person in the JSON file. map.on('click',…
-
0
votes2
answers235
viewsHow to take a string returned from the internal execution of a URL to turn it into a JSON object?
I need to execute this URL internally on the server. The result of the execution generates a string in JSON format: {"success":false,"errorMessage":"Token inválido"} How to take the string returned…
-
0
votes2
answers182
viewsIonic 2 Reading json
Personal I’m trying to read a json on Ionic, I created the service as follows : http://pastebin.com/0btbuC83 my class is like this : http://pastebin.com/6gdpBth4 and my json is like this :…
-
0
votes0
answers730
viewsProblem loading a Json file - Angularjs
I am doing some tests to read a Json file via Angularjs, but I was not successful loading the data contained in the file. I tried to change the version of the minified and normal angular, but I was…
-
0
votes0
answers785
viewsFill table and add rows as Json result
I am trying to fill a table that generates the number of lines automatically as the result of Json, I can do the Json work, it brings all the values I need, however, when updating the table with…
-
0
votes0
answers132
viewsHow do I get my Ionic app to update its external json to new content?
Well I have a site that uses the JSON API of Wordpress and created the site handmade consuming data wordpress JSON. I created an app for the site using IONIC’s "Whitelist" to get JSON data from…
-
0
votes1
answer89
viewsProblems with parse of JSON in Angularjs
I have a controller that returns a JSON object in the following format : [ {"idCliente":1, "nomeFantasia":"Flores", "razaoSocial":"Transportes Flores Ltda.", "contatosClientes": […
-
0
votes0
answers381
viewsPass PHP variable to JS via JSON
I’m trying to show off the result of a select performed by PHP in an external file, in an HTML form. I am using JSON to receive variables, but nothing is displayed. Can someone help me figure out…
-
0
votes2
answers1463
viewsReceive php Json values in Javascript for Chart.js charts
Hurrah, I have 2 graphics and wanted to bring them values from the database so I use php and bring the values with Json as follows: $pe= array(); $pe['fechados'] = $total_fechados; $pe['aguarda'] =…
-
0
votes1
answer189
viewsAngular js Reload
Person, I noticed that whenever I give Reload on the page, while page is being loaded, it shows all the keys {{}} of scopes of my project, is it normal ? the page containing the scopes coming from a…
-
0
votes1
answer246
viewsObject in java contains a JSON, I want to take the JSON information and popular my object attributes
The thing is, I have the GPS object, it’s with a json as follows the image, I want to take the data from the code field and the name field and put it inside the attributes of the GPS object. IMMAGE…
-
0
votes2
answers471
viewsExtract certain data from a Json array
I have taken a Json from an API that returns this result: [ { "marca_id": 4, "modelo_id": 2708, "versao_id": 65344, "cor": "Azul", "opcionais": [ { "opcional_id": 6, "opcional_nome": "Airbags" }, {…
-
0
votes1
answer107
viewsJson Correct format for typeahead?
When I Gero a JSON with the code below : JSONObject jsonObject = new JSONObject(); try { jsonObject.put("Nome", c.getNome_fantasia().trim()); jsonObject.put("Apelido",…
-
0
votes0
answers78
viewsMonitor changes in the value of a JSON attribute of a URL
I would like to know the most cost/benefit way to monitor changes in the value of an attribute returned by a JSON format URL. I mean, I have the URL of an API that returns something like: {"high":…
-
0
votes0
answers223
viewsMethod POST Web API returns 'NULL'?
I’m developing a Web Api with ASP with VB.NET to receive parameters JSON and created a method post with the following code. Public Function PostValue(<FromBody()> ByVal value As String) As…
-
0
votes1
answer1324
views -
0
votes1
answer517
viewsHow to print a JSON array?
var listaNomeProjeto = [{ "nomeProjeto": "NomeProjeto1", "subProjeto": [ "Sub Projeto1", "Sub Projeto2", "Sub Projeto3", "Sub Projeto4", "Sub Projeto5", "Sub Projeto6", "Sub Projeto7" ] },{…
-
0
votes1
answer119
viewsWhat is the most appropriate format for the Localdate field in JSON?
I have seen date fields returned in the following ways: "2012-04-23" //Padrão ISO 8601 "23/04/2012" //Pronto para renderização no front-end Considering the use and flexibility in the front-end, how…
-
0
votes1
answer82
viewsHelp to build a json file
arrayPerguntas = [{ bloco: $("#bloco-num").val(), perguntas: [{ numerodapergunta: numeroDaPergunta[0].value, numerodaperguntaSemPonto: retiraPonto(numeroDaPergunta[0].value), descricaoQuestao:…
-
0
votes1
answer71
viewsReading Json with PHP
Guys, I have a question in reading Json with PHP. This is the Json: {"message":"Oi Gente","report":[{"0":[{"port":"gsm-2.3","phonenumber":"00000000000","time":"1970-01-08…
-
0
votes2
answers99
viewsSplit in reverse order
var itens: "101|102|103|104"; var quebra = itens.split("|"); for (var i = quebra.length - 1; i >= 0; i--) { var unidade = quebra[i]; $("#lista").append("<p>" +getValue(unidade,…
-
0
votes1
answer433
viewsHow to get specific information inside a Json with PHP?
I have this code that returns a JSON $json_file = file_get_contents("https://api.blinktrade.com/api/v1/BRL/ticker? crypto_currency=BTC"); $json_str = json_decode($json_file, true);…
-
0
votes2
answers12186
viewsHow to send a json via post with PHP?
Good people, need to post a json to an API (URL: https://www.bitcointoyou.com/Payments/) and read what to return? How can I do? I thought of something with Curl. Grateful…
-
0
votes1
answer2523
viewsJsonformat changing date on a get request
I have a java web service using Spring Boot, in a class I have a date attribute and I use Jsonformat to format the date and convert on the client side using Gson. However, even defining the locale…
-
0
votes2
answers831
viewsJson with an empty list C#
I have the following doubt I have a class that contains a list and I have another class that reads a JSON the Reading class calls the Entity class and mounts the object but when one of the lists…
-
0
votes1
answer293
viewsJSON Class Construction and Consumption
I’m trying to consume a JSON, but in the structure I developed the code does not return data. Please, could you help me and explain the concept of consumption and how the JSON structure works? Code…
-
0
votes2
answers233
viewsSearch for data in Json and display time in time and move on to javascrtipt
I need to get the data that are in json format example: {"latitude": "-3,3462, -60,6790"} I need to display the results time in time type every 5 seconds and move to javascript without refreshing…
-
0
votes1
answer411
viewsHow to place two ng-repeat in the same view, Ionic/ Angularjs?
I have to list two types of interconnected arrays in the same view. But I’m not being able to list. EDITED: BETTER EXPLANATION I have four tables: valuation, user_app, item_orders, cadastra_offer In…
-
0
votes1
answer292
viewsModal with json object
I need to get an image by json to appear in my modal but the modal appears but the image does not here is my code $("#estoque1").click(function(){ $('#estoqueModal').modal('show');…
-
0
votes2
answers2675
viewsBD connection via php returning json to javascript
Guys I’m trying a connection with bd via php and returning a json to my javascript, but there’s something I’m forgetting or doing wrong, because I’ve tried to do several ways but never returns the…
-
0
votes1
answer61
viewsMysql - Search using like does not correctly return Unicode characters
I have a text editor in my application that records html formatting in a longtext field. It happens that when I use the like to return the data it cannot find because of the generated Unicode…
-
0
votes1
answer63
viewsConflict with JSON generation
I have this layout of a JSON file, which I must follow: { "data": [ { "id": 1, "title": "ClÃnica Fassina", "location": "ClÃnicos Gerais", "latitude": 51.541599, "longitude": -0.112588, "url":…
-
0
votes1
answer129
viewsProblem with Ajax request in Javascript
I have a mobile application in development using Cordova, that performs a select on my external BD and checks with mobile data so knowing if there is any change in data. I’m using a request via…
-
0
votes2
answers98
viewsHelp with JSON and jQuery
Hello. I have the following code: Jsfiddle In it I have 6 checkbox from 0 to 5 stars, and when I click on a checkbox it filters a json displaying the hotel that has such star so far everything well.…
-
0
votes2
answers104
viewstake json data in url and play inside a textbox in c#
Good afternoon how do I take the data of a url that is in json format and play inside my textbox ? thank you
-
0
votes1
answer643
viewsLoad Json Search in JSP
Good Morning I’m trying to make this example in my project. It’s a simple change of Select when you choose State Change Cities in another Select. https://gist.github.com/ografael/2037135 But I can’t…
-
0
votes0
answers35
viewsHow to insert Weather Underground forecast icons
Good afternoon I’m trying to insert the Weather Underground icons but no Python 3 icons. Below I leave a part of the code. url =…
-
0
votes1
answer1419
viewsHow to Get a json list of a JAVA Api?
I have the following return of an api {"type":"champion","version":"7.10.1","data":{"89":{"id":89,"key":"Leona","name":"Leona","title":"a Alvorada…