Questions tagged as 'json'

1
answer

Save the property of a JSON in a Node.js variable

I have this JSON { "user": "user0001", "pass": "pass0001", "toke": "asdqwe1234", "json":[{ "Notification": [{ "Channel": 1, "Type": 1, "Means": [{ "Number": 88888888,...
asked by 24.09.2018 / 18:37
1
answer

Browse JSON with library python requests

In my example I want to access all the albums Coldplay has. This is the json. I understand that with the library requests I transform it to a dictionary but I can not access the albums but it returns the value of each position in the element top...
asked by 01.09.2018 / 00:02
1
answer

Datatable JSON Invalid JSON response

Why this error is due    DataTables warning: table id = Table_Tools - Invalid JSON   response For more information about this error, please see    link I enclose a photo with the answer on my network My code // Call the dataTa...
asked by 01.08.2018 / 23:52
2
answers

Result in Ajax multiplying the array values

When making a query to the database, it generates a response that is received by the success function of ajax, but when I want to put $. each , it is not that I have a problem with that, no and no, the json is parsed, everything is fine, only t...
asked by 24.07.2018 / 02:41
1
answer

How can I navigate this JSON

I've been trying to traverse this JSON but it gives me the blank value when doing echo. { "Score": { "GameKey": "201811102", "SeasonType": 1, "Season": 2018, "Week": 11, "Date": "2018-11-18T13:00:00", "AwayTeam": "DAL...
asked by 22.11.2018 / 21:38
2
answers

Format JSON

I want to give a specific format to a JSON that I do from PHP to then receive it in a variable in JS and fill a table with it, but I do not know how to do it. Here the JSON is created: <?php $conexion=mysqli_connect("localhost", "ro...
asked by 20.06.2018 / 19:14
1
answer

How do I pass php array to Jquery?

I have a little problem: <?php require_once '../Controlador/HuespedController.php'; $Huesped = new HuespedController; $userdoc = '44889498'; //originalmente aqui va esto $_POST['doc'], $consulta = $Huesped->BuscarDocumento($userdoc);//...
asked by 30.05.2018 / 23:37
1
answer

Read a .json from python

I have a .json with the following structure: [ { "Country": "Spain", "Age": "14" }, { "Country": "China", "Age": "16" }, ] I try to read it with the following method: import json from pprint import pprint with ope...
asked by 19.07.2018 / 10:14
1
answer

show result url content by php

I have this link: link and what I wanted is to get the information through php and create my own gta v servers generator, How could you get that information through php? I hope you have explained me well something like this:...
asked by 14.05.2018 / 23:26
1
answer

I fail in a project of a course that I am doing

Hello very good I am doing a project and I have found this error:    Notice: Undefined index: registration in   D: \ xampp \ htdocs \ gdlwebcamp \ validate_register.php on line 25       Warning: Invalid argument supplied for foreach () in   ...
asked by 17.05.2018 / 13:05