Questions tagged as 'json'

2
answers

doubts with linq to sql

Personal I have two tables, sale and sale Items: Sale: [Table("venda")] public class VendaModel { [Key] [Required] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int id_venda { get; set; } public DateTime dt...
asked by 05.07.2018 / 00:40
1
answer

Save Json to a mysql database

I'm not sure how to process a JSON within the database. The whole process looks like this: I am sending from another server through the script below: $sql = "SELECT * from mgs_castloang"; $Ds_Retorno = ibase_query($sql); $count = 0; w...
asked by 12.05.2018 / 22:38
1
answer

Google Timeline Charts using Laravel (PHP)

I have a controller that queries the data, transforms it into JSON and sends it to the view (which contains the timeline). The chart you're using is this: link public function monitor_sala() { $data = []; $reservas = ReservaS...
asked by 20.08.2018 / 20:40
1
answer

Send notification to users online within the system

How do I get my system after sending a record to the bd, users who are online receive such notification by action. Example: User added a client to a queue, at which point the system writes this record to the queue table, in the next action the s...
asked by 11.04.2018 / 16:39
1
answer

Shows days with pouch ignoring today's day with return JSON

I'm trying to make a logic to display the next day that a certain warehouse will have pouch shipping, I'm trying to create a array with the search I'm doing on my banco de dados and trying to skip today and always see the next day,...
asked by 19.11.2018 / 17:48
1
answer

Creation of JSON with numeral

I would like to create a JSON like this (this is only a part), I always create the object with the value, but I can not do it this way using 200 as an object: path.get.response = new Object() path.get.response.200 = new Object() "res...
asked by 16.11.2018 / 13:11
1
answer

JSON Request: CORS Access-Control-Allow-Origin header error [duplicate]

I need to make a JSON request for PayU, but it shows me the message:    Cross-origin request blocked: Same source policy (Same   Origin Policy) prevents the remote resource from being read   a a % 5D = 22222222 "> link .   (Reason: CORS 'A...
asked by 18.06.2018 / 02:21
1
answer

I can not create layout inside the json request [closed]

Hello In my project, I get some fields via JSON, I have an empty layout, and I must create the elements (textview, imageview, edittext ...) according to the data received from JSON. JSON is receiving correctly, and outside of it, I can crea...
asked by 10.11.2015 / 22:33
1
answer

Change file content with ajax

Hello, first of all, I would like to clarify that I looked so much here in the stack, as in other sites something that answered my question, but I did not find it. My question is, how can I rewrite the contents of a JSON file from the server usi...
asked by 31.10.2017 / 18:37
1
answer

How to get specific information inside a Json with PHP? [duplicate]

I have this code that returns a JSON $json_file = file_get_contents("https://api.blinktrade.com/api/v1/BRL/ticker? crypto_currency=BTC"); $json_str = json_decode($json_file, true); var_dump($json_str); Now, I want to get a spe...
asked by 26.03.2017 / 17:33