Questions tagged as 'json'

1
answer

How to choose which serialize field - Jackson

I'm using Jackson to convert my objects to Json . The fields I do not want to serialize markup with @JsonIgnore annotation, but in some cases I wanted to serialize those fields. Is there any way to choose when to serialize them?     
asked by 04.04.2016 / 16:11
1
answer

How to get a certain variable json

<script type="text/javascript"> $(".addTrack").live('click', function() { $('.playerTocador').css('display', 'block'); var mp31 = $(this).attr("data-servidor"); var session = $(this).attr("data-session"); //$('.terra').load(...
asked by 28.03.2016 / 17:59
1
answer

Error retrieving json on php side

Well, I am sending a json to php but I can not recover $.ajax({ type: "POST", url: "sys/salvar_servidor", datType: 'json', data: JSON.stringify(dados), success: function( data ){ document.write(data); } }); A...
asked by 29.12.2015 / 12:36
1
answer

how to access json?

I think the simplest thing is to access a key and a value in json, but for weeks I'm not able to do that ... it returns json right through ajax but when I try to access it does not. Note: I am a layman and I am learning. follow code: functi...
asked by 31.08.2016 / 07:38
2
answers

JSON function Returns no value [closed]

I have a problem, I would like to populate my DropDownlistFor with the result of another DropDownListFor, so I'm using Ajax and Json, same concept they make when they want the result from State to City. Model: public class SegmentMOD...
asked by 17.12.2015 / 14:29
1
answer

problems in adding an element in HTML with JSON

var componente = { HTML :'<div class="alert" style="background-color:#951f2c !important;">' + '<input type="text" class="form-control titulo-valor" placeholder="Digite o Título do Bloco" style="background-color:#951f2c !importan...
asked by 21.03.2016 / 16:21
2
answers

HTTPS server postal consultation

I'm trying to request the address for the zip in a website, but it is giving the following error:    Mixed Content: The page at ' link ' was loaded over HTTPS,   but requested an insecure XMLHttpRequest endpoint   ' link '. This request has  ...
asked by 17.03.2016 / 15:58
2
answers

Android: Send data via POST

I know how to do this in other programming languages, however, when looking for examples of how to send data using POST in Android , I only find examples that use discontinued classes, such as: HttpClient HttpPost...
asked by 22.03.2016 / 04:45
2
answers

Error passing PHP Array to AngularJS by JSON

I am in doubt on a code I am developing, I am passing a query on the MySql database and I need this response to return in JSON for angularJS to understand and write in HTML. Follow the code: <?php header('Content-Type:text/html;charset...
asked by 06.12.2015 / 17:11
1
answer

Date from Mysql for Highcharts

Good I've been here a few days back from this subject until I got something, my only problem now and convert my graph I was reading through a CSV to now read directly from MYSQL My original graphic is this: <script type="text/javascr...
asked by 26.02.2016 / 12:09