Questions tagged as 'json'

1
answer

How to join 2 Json in 1

Hi, I have a php file that generates this: ["1", "Raul", "Martinez", "Perez", "8.2", "0", "masculine", "34", "spring 21"] ["65", "My Current Location", "5 Naucalpan Street", "19.4694766998291", "-99.23297119140625", "19.4689194", "- 99.224...
asked by 10.10.2017 / 20:57
2
answers

Return query data with PHP and Json

Greetings my problem is this, I'm trying to make a query with PHP and jquery, where I send an empty data, just so that it returns a row of the MYSQL database but when I show the data in the HTML it gives me this [object Object][object Object]...
asked by 27.09.2017 / 01:43
1
answer

How to remove the json from the subscribe to pass it to an object?

I have a problem. It happens that I have a json data that I receive from the database, and when entering the service that the json brings me I enter the subscribe and assign the data json to a variable. but the problem is that using the varia...
asked by 27.09.2017 / 18:37
1
answer

Duplicate data when traversing JSON (JavaScript)

I have a JSON in which I keep a series of errors. I'm going to export them to a CSV, so I need the values of all the fields (they will be contained in the error and others that are not), for them I have conditioned it with nested IFs. var e...
asked by 20.09.2017 / 17:58
1
answer

ng-repeat does not show me the list

I'm starting to learn Angular. make a small example and show me the list: HTML and JS: var app = angular.module( 'flapperNews', [] ); app.controller( 'MainCtrl', [ '$scope', function($scope) { $scope.test...
asked by 13.09.2017 / 19:26
2
answers

Error accessing dictionary value in Swift 3

I have the following Json { [ { "id": "c200", "dia": "Lunes", "horario": "07:30/09:20", "materia": "Dibujo Tecnico (T)", "seccion": "A", "profesor" : "Ernesto...
asked by 12.09.2017 / 06:56
1
answer

Enter coordinates (bookmarks) in a google map

DATA: null([{"id":"0008","nombre":"FACULTAD DE CIENCIAS I","bbox":"-0.515358212377548,38.3869756882801,-0.514646718387274,38.3874205581019","count_geometrias":2098,"plantas":"{P1,P3,P2,PB,PS}"},{"id":"0206","nombre":"CENTRO INCUBADOR DE EMPRES...
asked by 15.10.2017 / 20:53
1
answer

Problem to Graph in highcharts

I have a problem to graph the data in a highcharts pie chart, the problem is that I can not graph it according to its color, I'm using an API, I could do it with the bar graph now I want to do it with the pie graph, I could do but I have errors...
asked by 27.08.2017 / 01:20
1
answer

How to initialize a composite structure with json tags

I want to initialize a composite structure. The composite structure has json tags, and when running the program it shows something like the following: go run struct.go # command-line-arguments ./struct.go:23:11: cannot use struct { Lat float3...
asked by 28.08.2017 / 12:57
1
answer

Create json array from php + mysql

I have the following code, but it does not show it to me as a json array, how can I modify it so that it is an array type array= [{"nombre":"jesus"}] etc etc. $result = mysqli_query($connect, "SELECT * FROM 'transacciones' WHERE 'Userc...
asked by 25.08.2017 / 02:27