Questions tagged as 'json'

2
answers

How to send a json via post with PHP?

Good people, I need to send a json via post to an API (URL: link ) and read what to return? How can I do it? I thought of something with cURL. Thankful     
asked by 01.04.2017 / 02:41
4
answers

json_encode returning TAGS HTML [closed]

When performing echo json_encode($data); , I am receiving, via console.debug(data) , the following: <br /> <font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>...
asked by 09.01.2017 / 18:21
0
answers

Ionic 2 Reading json

Personal I'm trying to read a json in ionic, I created the service as follows: link my class is like this link and my json is like this: link But my class alert only returns undefined ... How can I fix it? Thanks     
asked by 20.11.2016 / 13:23
2
answers

How to get items from a json in C #

After almost 3 days trying to implement I was not successful. I have the following json: { "code": 200, "data": [ { "id": 1, "type": "charge", "custom_id": "1208", "status": { "current": "new", "previous": null }, "identifiers": { "charge_i...
asked by 03.12.2018 / 18:14
2
answers

Get data from Json by php

People need to get data from a JSON file (I'm not the fuck in the business). This api below is for displaying temperature via JSON + PHP, remembering that on the same site I can not get the maximum, minimum or display days of the week, but this...
asked by 12.04.2017 / 15:24
1
answer

How to send this ajax request?

Look at this print: Actuallytheaboveisanajaxrequestalreadysent,andIwanttolearnhowtowriteit,lookhowIdiditanditisnotworking:$.ajax({url:'linkdeumsitequaisquer.com.br',type:'post',data:{questionId:1,questionKey:"IDENTITY_SAFETYQUESTION_1},...
asked by 22.12.2017 / 11:17
1
answer

Generate JSON from a URL and Search by Location

Well, I would like to know if there is any possibility of showing a JSON list from a URL and in the same url they generate the following values: nmConveniado , strong , ListEndereco . I tried to use the following script but did not succeed...
asked by 20.06.2018 / 00:17
1
answer

Change radio button properties from select on select

Dear, I see myself in the following situation where I can not imagine a solution: We have a selection field in html containing some Brazilian states and the Federal District, when choosing an option, this would lead me to open another type of...
asked by 09.04.2014 / 09:36
1
answer

Print JSON.Parse

Good morning, I have a variable that stores data coming from a localStorage , which in turn contains the following data: Array[3] 0:"{"Token":-6742.075757575755,"Solicitacao":"3359659","Justificativa":"jjjj"}" 1:"{"Token":-57645.84848...
asked by 05.01.2017 / 14:40
1
answer

Create POJO for JSON

I have a problem creating a POJO of this Json (end of question). Classes > > > > Main public class teste { public static void main(String[] args) { ((Runnable) () -> { System.out.println("PreExecute");...
asked by 06.01.2017 / 07:10