Questions tagged as 'json'

2
answers

How to generate JSON files through forms? [closed]

I want to store the data that users put into the inputs into separate JSON files so they can be used later. Can anyone help me?     
asked by 18.07.2017 / 19:28
1
answer

Mapping Json Angular 2 data

I created a service to load a Json API: import { Injectable } from '@angular/core'; import { Http, Response, Headers } from '@angular/http'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/catch'; import 'rxjs/add/operator/do'; @In...
asked by 18.07.2017 / 14:22
1
answer

Doubt PHP Json Array

In the query below $id_candidato = 1; $id_vaga = 2; $sql = $mysqli->query("SELECT * FROM candidatos WHERE id_vaga = '".$id_vaga."' AND id_candidato = '".$id_candidato."'"); if($sql->num_rows > 0){ while($row = $sql->fetch_ar...
asked by 30.06.2017 / 22:03
0
answers

Socket with JSON in java

Good night everyone. I have a problem, in case I have a software that runs on port 3333 on a particular computer, and it has an api, but I need to recover it through another computer and get the array using the GSON library Google. Below my c...
asked by 01.07.2017 / 03:39
3
answers

generate a json file with java

   Iterative Insertion: 7841910ns - 7ms       Iterative selection: 2677762ns - 2ms       Iterative merge: 708154ns - 0ms This algorithm was made in Java , in the java console is printed several values, being: search algorithm name t...
asked by 30.04.2015 / 00:59
1
answer

Hibernate auto relationship turning into json break

I'm using Hibernate to persist the objects in an embedded HSQLDB file. I've created a similar method from a "tester" to popular and fetch the persisted information. But when I look for the informations, in debug mode it's like my result is...
asked by 10.07.2017 / 14:25
0
answers

How to replace array value

This is my code currently, I would like to add the season (which I can already do) and then the episodes within that season (which I can not do). <?php $string = '[{"OVAS":[{"name":"01","file":"file01.mkv"},{"name":"02","file":"file02.mkv"...
asked by 23.06.2017 / 21:46
2
answers

Javascript JSON external file

I would like to upload an external json file to my html page via javascript. When I tried, the following error occurred: "Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https"....
asked by 28.06.2017 / 20:52
1
answer

Show data from json

I need to recover the data POINTS and RODADA_ATUAL The json link is - > link This is the name of the team that wants to pull the dice: semtitulos When you access this url all the team data appears, but I can not get the 2 values I...
asked by 16.06.2017 / 14:52
0
answers

I can not get into the success json function

Dai guys .... I'm not able to pass the return of my code to the function success of my ajax via json .... I'm using codeiginiter, php, mysql .... someone you can help me .... it's been almost a week since I'm trying and I do not unpack ... My...
asked by 29.06.2017 / 03:53