Questions tagged as 'json'

1
answer

Access the names of the fields in a JSON file

I'm trying to make a dynamic table from a JSON file. The problem is that I want the headers of each column to be the name of the field. I mean, I have the JSON file: "articulos": [ { "nombre": "Camiseta", "talla": "XL",...
asked by 07.04.2017 / 00:27
1
answer

How to call a unique json value, example name (the json has id, first name, last name, etc.) [closed]

fs.readFile("user.json", function (err, data) { if (err) throw err; console.log(data.toString()); });     
asked by 22.11.2018 / 01:57
1
answer

How is this JSON created? [closed]

I want to create a JSON in php with mysql data only that I do not know how to create the table or the php code so that in the end the json looks like this, I hope your advice, thanks. [{ "nombre": "Ejemplo", "url": { "small": "imagen1.jpg"...
asked by 31.10.2016 / 21:40
2
answers

DropDownList Asp.NET C # MVC

Then I leave the images (1,2). I have the BD "School" which has the Student and Group tables, and I want to add a DropDownList which shows the groups that exist in the BD and select it. I'd appreciate your help.     
asked by 30.03.2018 / 07:14
3
answers

Tour JSON Array [closed]

My problem is this: I have a JSON that returns the API of YouTube and when trying to enter some property I get "undefined" The Youtube API returns the following: // Parte del JSON retornado por la API: { "items": [ { "id": {...
asked by 04.05.2017 / 21:09
1
answer

I need to send several parameters to a JSON controller!

var appController = (function () { return { save: function (_item, _tipo) { APP.rq.axios.put(APP.ctrl + '/proyeccion', _item) } } } What I want to know is how to pass the variable _type...
asked by 09.11.2017 / 18:56
1
answer

How to connect to a middleware in java to do POST, GET and PUT with JSON? [closed]

they ask me to do POST, GET and PUT with a JSON to a middleware server, they gave me a URL to make my connection and send a JSON to then do the respective GET yPUT, the POST, GET and PUT have an address every one For example: POST / Net / Person...
asked by 27.09.2018 / 13:16
2
answers

Error deserializar JSON in .NET C # [closed]

Does anyone know what he's trying to say about the error he makes?     
asked by 25.05.2018 / 03:48
1
answer

JSON ObjectArray with Keys and Values [closed]

I've been trying to make the ObjectArray print The key value without having to specify userData [i] .name; userData [i] .lastname; userData [i] .age; Just put the key in an array like: var variables = ["name", "lastname", "age"];     
asked by 30.05.2017 / 05:28
2
answers

help like How to traverse this JSON array in PHP [duplicated]

Hello how can I do to get the name of each of the ones that appear in this json array with php. and thanks for the help "genres": [ { "id": 12, "name": "Aventura" }, { "id": 878, "name": "Ciencia f...
asked by 17.09.2018 / 22:25