Questions tagged as 'json'

1
answer

How to prevent "being encoded as" in Razor?

Well the question here is that I'm working on a razor file and I'm wanting to create a json from an array in vb.net as follows: For Each ItineraryPnr In ItinerariesNode.ChildNodes arrayPnrRetrieve(contPnr) = New With {Key .trasactio...
asked by 14.03.2016 / 19:13
2
answers

Problem receiving data on Android with JSON, PHP and MySQL

I am developing an application for a restaurant control, it should be noted that I am relatively new to this, and most of what I do is with online consultations. This is the problem, I have this PHP Script in which I receive a variable of NA...
asked by 24.09.2017 / 03:49
1
answer

Remove null or empty values from a JSON Object in Google AppScript

I am analyzing information within a Google Sheet through Google App Script, through the active total range of the Google Sheet I obtain a javascript object of type multidimensional I transform this into a JSON object with the function JSON....
asked by 28.08.2017 / 18:22
1
answer

How to print a JSON string within an input with PHP?

I need to print a string JSON from PHP within value of a input , to then be able to recover it with JavaScript . <?php $array = array( "foo" => "bar", ); $json = json_encode($array); ?...
asked by 24.08.2017 / 21:34
1
answer

REST Jersey + jackson servlet parsea part of the json as a JsonObject

I am receiving a JSON that jersey + jackson parse it directly on the object that will contain the information. The thing is, I want part of that JSON to be saved as a JSONObject or JSONArray . This would be the JSON that is received, {...
asked by 16.10.2018 / 11:49
3
answers

pass data onItemClickListener in in ListView loaded with JSON to show them in another activity

I need to control the click on the custom Listview so that it performs an operation depending on which one is pressed. I already have the OnItemClickListener. But, how can I pass the data contained in the Item to another Activity? I leave...
asked by 26.11.2016 / 17:46
1
answer

Variables in ng-repeat directive Angularjs

With the ng-repeat directive can I store two different variables? Example: ng-repeat="valor1 in valores1 & valor2 in valores2" I have problems getting the key of my string in Firebase 3 and I want to extract the key...
asked by 23.11.2016 / 18:35
5
answers

Problems with accents and characters in JSON?

I am developing an application on android that gets data from a JSON that looks like this [{ "title": "Titulo", "image": "Imagen url", "op": "op", "autor": "Autor", "fecha": "Noviembre 15, 2016", "nota": "ejemplo de nota" }] The problem is...
asked by 16.11.2016 / 02:09
5
answers

Print a label i for each ng-repeat of a Json

Having the following structure, HOW DO I do it to print the amount of stars that each car has? that is. IF in the json it says "stars": "3" would have to print 3 labels The expected result is to print 3; The first with 3 inside. The second wi...
asked by 30.01.2017 / 15:32
1
answer

POST request error with JSON with accents in Android

I am sending a request to an API in ASP.NET from Android, I am using Spring Framework to make requests, the problem is that when sending a JSON that contains accented characters the server returns an exception with the following message: {"exc...
asked by 02.02.2017 / 07:16