Questions tagged as 'json'

1
answer

How can I add a javascript file in a project of angular 6?

My problem is how to add a JavaScript file to use it within my project, and try to add it to the assets folder and it does not work, the following appears:    Uncaught ReferenceError: edit is not defined       at HTMLButtonElement.o...
asked by 21.05.2018 / 23:08
0
answers

How to recover Java service JSON?

I am creating a REST service exposed from Java, I am working in Netbeans because I saw that it was much easier to generate the code from the database model that I have already defined and created, now the service works for me but I it returns al...
asked by 22.05.2018 / 22:00
1
answer

Replace values in a JSON array

First of all thank you very much for helping me! :) I'm starting in the world of programming, and there's something I'm not able to solve / understand. I have a website in development that uses Template7, where I basically have an array in JSON...
asked by 16.05.2018 / 15:59
0
answers

Convert a SQL query to JSON and iterate it in Django

I have a query that I perform on a link to an API and it returns a result in STRING, what I want to do is convert it to JSON and iterate it to be able to handle each result of that query individually. Right now in the views I have: url = "h...
asked by 15.05.2018 / 10:19
2
answers

Insert several records at once with ApiRestful - Laravel

I have the following question and I would like you to help me with this, you will see, I have in my controller to upload telephone equipment to my ApiRestful and everything done to be able to upload a computer by providing a "json", here the cod...
asked by 15.05.2018 / 09:04
0
answers

JSON - Angular - How do I patch this JSON in my model?

I have doubts about how to consume JSON in Angular, since I can not use the JSON data well in my model. JSON example: link My model is as follows export class Artist { idArtist: string; strArtist: string; strStyle: string; strW...
asked by 11.05.2018 / 00:14
0
answers

Refresh listbox when changing another

I am trying to create a system through listbox, that when selecting one, update the other. One is EQUIPMENT and another is that of PLAYERS. At the moment, I have a script with ajax and an example in php, but it does not work for me...
asked by 17.05.2018 / 11:31
2
answers

Load Json data with Ajax and Highcharts

I have this .json :    [ { "id": "bitcoin", "name": "Bitcoin", "symbol": "BTC", "rank": "1", "price_usd": "9433.76", "price_btc": "1.0", "24h_volume_...
asked by 08.05.2018 / 12:34
1
answer

Access JSON Chained

I am working in the lua language of CORONASDK and I run into a JSON of this type: [ { "data":{ "online":true, "peerId":1, "id":"5af10ec611686d7373de1b98", "scriptData":{ "PROF...
asked by 08.05.2018 / 13:18
1
answer

do search with Django and JQuery

I'm trying to create a product search engine my model is this class Producto(models.Model): nombre = models.CharField(max_length=50, null=False, blank=False) categoria = models.ForeignKey(Categoria, null=False, blank=False, on_delete=models.CA...
asked by 06.05.2018 / 07:51