Questions tagged as 'json'

0
answers

How to get a JSON file and decode in C ++? read the Json file in C ++

I have a JSON file with employee data and I want to read this file in C++ to pass para a pendrive and export this file, how to proceed? Follows file JSON:    ":" Alexandre N. da   C.Neves "," ID ":" 213 "," PIS ":"...
asked by 08.04.2016 / 15:27
0
answers

Android app shows error

Good evening I'm learning how to use Android Studio. I'm trying to develop an application that takes some json data via url, but when I run my application, it throws the following error: 02-01 23:30:35.700 14230-14230/? D/dalvikvm: Late-ena...
asked by 02.02.2016 / 02:43
0
answers

$ .getJSON image upload

I need to upload the images along with the registration in the DB. $("#btnCriarConta").click(function() { if ($("#inputNomeCondominio").val() !== ""){ var nomeCondominio = "Tiago"; var foto1 = "/data/data/c...
asked by 19.12.2015 / 20:08
0
answers

Android sending POST Json using JAX-RS receiving object with array null [closed]

I'm trying to post an object but the array only comes null .. can anyone tell me what's wrong? @XmlRootElement public class Produto implements Serializable{ private String nome; get e set... private List<Tipo> tipos; ge...
asked by 13.11.2015 / 01:27
0
answers

Select2 displays value instead of text

I have some fields that use Select2 to do a basic CRUD, but querying some fields from another base. The question is, when I click refresh, I put all the values in the table (dataTables) in an array, and then when I go to Select2, it does not dis...
asked by 11.11.2015 / 14:18
1
answer

Fill a select via jquery in cakephp

I made it a little easier, but it still is not working. Instead of mounting everything in the javascript, in my action I mount all html and in javascript I only pass the html mounted to my select. function MostraPrograma(){ var _valorSelect =...
asked by 04.01.2016 / 17:01
1
answer

JsonObjectRequest does not enter onResponse ()

I'm doing a home automation project with Android and Arduino and I have this snippet of code in my class whose purpose is to query the values of the WebService in Json. But every time I call this method it does not go into OnResponse () , i...
asked by 26.11.2015 / 16:14
0
answers

Return content to client application with header defined

I have an application that returns PHP JSON content to an HTML page, however I do this without setting header , such as header('Content-Type: application/json'); , ie in the application it does not have this declaration. It works...
asked by 11.10.2015 / 00:20
1
answer

Send list of objects JSON c #

. However, in the controller, I only get the Field id, and nothing from Answer , I can not see the problem. My array can get the data as it should, just not everything is passed to the controller. JSON var urlResposta = '@Url.A...
asked by 29.11.2015 / 22:16
1
answer

Loop with AngularJS data

I would like to make a frame with AngularJS data Populatingthedataviajsonlikethis: Example:date="" 01/01/2015 "but, the will only be shown the day The table is looped <div ng-app="myApp" ng-controller="myCtrl"> <table clas...
asked by 15.11.2015 / 03:03