Questions tagged as 'json'

0
answers

concatenation of a view, json en laravel full calendar

Is it possible to concatenate a view and a json to show everything at once? public function index(){ view('admin.calendario') $data = Event::get(['id','title','placa','start']); return Response()->json($data); } I have t...
asked by 06.03.2018 / 04:27
2
answers

Tour Json taking part of the values

I have this example of Json's structure [ { "idgoOperacion": 256, "Destino": "Actividades Comunitarias", "Tipo de Solicitante": "-", "Superficie Otorgada": "", "Lugar de Firma": "", "Fecha de Firma": "" }, { "...
asked by 01.03.2018 / 15:12
0
answers

How to traverse a json array and get its values for mvc table?

function CargarDatos() { var idAtenci = @Request.QueryString["idAtencion"]; //Cargar datos de los usuarios compartidos $.ajax ({ type: 'POST', url: '@Url.Action...
asked by 23.02.2018 / 20:54
2
answers

How can I access the values of a URL-type json?

I'm getting the values of this json link but, when I try to get "films" it shows me the value as undefined . I refer to this exact value but I think it is not recognizing that it is a json and that is why it shows the undefined. The referen...
asked by 23.02.2018 / 19:54
1
answer

Change the date and time format before Json is performed?

I have my button that serializes my object that I use it in this way: private void btnJson_Click(object sender, EventArgs e) { OleDbConnection connection = MSAConnection.getConnection(); string sql...
asked by 01.03.2018 / 21:04
1
answer

Get json values

I have this json { "type": "FeatureCollection", "features": [ { "id": "0", "type": "Feature", "properties": { "Name": "L�nea G - Buenos Aires - Tapiales", "L...
asked by 23.02.2018 / 12:44
0
answers

Null data in Chart.js with JSON

I hope someone can find a solution to my mistake. I'm trying to fill out my chart with data taken from the database, but my chart is undefined I have done tests, and if it brings me the data correctly from the BD, but when passing it with PUSH...
asked by 14.02.2018 / 00:35
1
answer

convert JavaPairRDDString, Integer to Json

I have the following WordCount example and I would like to get the result to JSONObject: JavaPairRDD<String, Integer> counts = words.mapToPair(new PairFunction<String, String, Integer>() { public Tuple2<String, Integer> c...
asked by 13.02.2018 / 17:47
1
answer

PHP-JSON query

After your comments I can obtain them in the following way: <?php header('Content-type:application/json;charset=utf-8'); $id = $_POST['id']; $packing = PackingListData::getPackingList($id); $arr = array(); foreach ($packing as $pack)...
asked by 20.02.2018 / 20:35
0
answers

Validate in what arrangement a data is found and that I get the corresponding message

I have that code, I want to validate by means of the corresponding message, in what arrangement is the data entered, whether it is authorized or not. The data is entered, and the message appears according to the location of the data in the array...
asked by 12.02.2018 / 01:06