Questions tagged as 'json'

3
answers

Find values in JSON by multiple keys

I have the following JSON: { "$SP": { "0": "92", "1": "00:01:36.340", "2": "00:05:48.929\n" }, "$MT": { "0": "91", "1": "00:00:34.187", "2": "00:18:44.001\n" } } I need a function that looks for the key name...
asked by 14.11.2018 / 23:01
1
answer

Query in the send and use database in javascript

My difficulty is after sending to the java script how to separate each record: Example: In my code I'm running this function: $culturas=array(); $resultado=mysqli_query($conexao,"select *from mandioca_iea where id_cult=1");...
asked by 29.01.2015 / 03:02
1
answer

Returning data from Java to Ajax using Json

I have a Java application, and a module that inserts products into the base using REST. In the base the id of the product is autoincremental, and as soon as I add the same in the base, I need the id so that the table with the products are update...
asked by 27.06.2014 / 15:26
2
answers

Paste description select - AJAX

I have this function and need to load the same description as select. In this function I can just load the id, how can I do it in place of the x (what is the id) I take the description? function myFunction() { var x = document.get...
asked by 05.07.2018 / 20:31
1
answer

Type an array of type any [] in angular 6

I need to type an object, so I do not get any [] in the agile 6. Well, on the get, I get this from the API: { "error": false, "itens": [ [ { "operatorId": "819ee9cc-70b6-44dc-b9e8-afff8705142c",...
asked by 06.07.2018 / 15:50
1
answer

Import and manipulate json in Python

I'm trying to import an .json file with the following structure: short_description:She left her husband. He killed their children. Just another day in America. headline:There Were 2 Mass Shootings In Texas Last Week, But Only 1 On TV date:201...
asked by 30.10.2018 / 00:15
1
answer

List C # losing what has already been added

I'm a beginner and I'm developing a shopping cart. The routine I thought was: Every click on the add button, the product is sent to the controller via ajax request. There I already have a list created. So, I add the product in the list and save...
asked by 07.05.2018 / 20:13
2
answers

JSON Openload PHP

Can anyone help me? I have the following url json: link I would like to know how to list in php every part that has json left type Name: the name you have in json Id: id that has json And for a json like this: {"status":200,"msg":"O...
asked by 11.05.2018 / 15:18
3
answers

Read values from a Json structure using Jquery

I am trying to read the data that is received via php and I need to read those values separately. The return is a json object, when I show in the console using the command console.log(data) and the following structure appear...
asked by 15.05.2018 / 15:32
2
answers

Tooltip when disabled?

I want to make a tooltip appear when the button is off link saying that you need to mark the terms box, once you mark it the tooltip disappears. Can someone help me ? Thank you <!--Loja | INICIO--> <section class="container"...
asked by 04.02.2018 / 04:03