Questions tagged as 'json'

1
answer

Generate Html second Json object

I need to receive a Json with the activity selection and generate the HTML according to this data. I think it should look more or less like this, can anyone give me some tips to improve? <script> $(document).ready(function () { va...
asked by 29.10.2015 / 23:01
1
answer

Help with php and json

I'm having trouble displaying correctly in JSON , a result from two tables in my database. The situation is as follows: I have requests in a table (A) and the products of that request in another table (B). The JSON result I have is l...
asked by 13.10.2015 / 16:00
1
answer

How to change value of an object in php

I'm passing an object created in a jQuery file to php and getting it by the following code. $data = $_POST['data']; $d = json_decode($data); $user = $d->user; $season = $d->season; print_r($d); What is returning me the following:...
asked by 21.11.2015 / 23:20
1
answer

Ruby on Rails - Randomize JSON variable and apply in Array

Well, I have a problem that is relatively simple, but that is ending with me. I have an array of JSON objects. This array of objects will compose another array containing other n arrays. So far so good. However, what happens is that with...
asked by 09.11.2015 / 22:42
1
answer

CheckoutURL redirect issue on Checkout

I'm developing the site of my phonographic label with the CodeIgniter framework. In it I will sell physical and digital CDs with the Cart class. I signed up for Cielo this week and I am reading the Developer's Handbook assiduously. The manual...
asked by 08.11.2015 / 07:29
1
answer

Android - AsyncTask and ProgressDialog

Hello, guys. I'm starting in the Mobile area recently and I'm having some issues with the user experience issue in my App. In my App, it gets a JSON from the server through a AsyncTask . Below is a well-honed class, but it basically doe...
asked by 01.06.2016 / 05:05
1
answer

JObject.Parse returning null

I'm not very adapted to Youtube Api V3. But I watched a google developers live where the google operator shows how to list the activity of a particular channel. Based on this I executed via GET at the following address: https://www.go...
asked by 11.11.2015 / 21:09
2
answers

Extract certain data from the array of a Json

I've got a Json from an API that returns this result: [ { "marca_id": 4, "modelo_id": 2708, "versao_id": 65344, "cor": "Azul", "opcionais": [ { "opcional_id": 6, "opcional_nome": "Airb...
asked by 14.07.2015 / 23:15
2
answers

How to extract only 1 image from Json?

Hello, I need to extract only 1 image of this Json. Here is my angled code to pull the records from api via get. var app = angular.module('myApp', []); app.controller('carrosCtrl', function($scope, $http) { $http.get("http://www...
asked by 13.07.2015 / 17:03
1
answer

Recover Json Value

I'm including my YouTube channel with my videos on my site. But there's a part of Json that I can not recover. I'm doing this: $.each($feed.items, function(i,item){ var url = item.videoId; I commented on the code for you to see from Json...
asked by 26.05.2015 / 21:27