Questions tagged as 'json'

1
answer

Generate JSON data page in Jekyll

I wonder if there is any way to generate a page with data in JSON (false data) in the Jekyll . The intent is to simulate a AJAX request for this page by already preparing the code for when the platform-generated data comes from...
asked by 15.03.2016 / 20:05
0
answers

Get all Steam Items

Well, I have the following code that gets you the items from an inventory of a particular player. However it only shows me 1 type of each item, ie if the player has 5 boxes of the same type, it only shows me 1 box. How do I show all boxes?...
asked by 14.03.2016 / 02:03
1
answer

Dropdown Asp.net MVC

I would like to do two dropdowns in a view, I do not want to do these dropdowns through the model in the view because each dropdown is of a different class. I made the dropdowns with angular.js only because I could not get the values when sub...
asked by 23.02.2016 / 18:42
1
answer

How to manipulate a JSON with fasterXML in java?

I have a json that comes from the MongoDB bank, I have to get and manipulate json using fasterXml. I will have to get the json properties names and separate them with period (.) Instead of comma (,) Type like this: "type" : "object", "id"...
asked by 01.02.2016 / 20:03
1
answer

Google Maps Api v3 - Working with 2 Json files

I'm creating a map, to display a lot of information, using google maps v3. I worked with 2 Json files to fill the map. The first file contains the Latitude and Longitude information of the map points, and the second contains InfoWindow inform...
asked by 01.02.2016 / 17:54
0
answers

Retrieving json through a url using ajax

I have this method that looks for the data that is in a txt file and populates a table: $(document).ready(function () { $('#example').DataTable({ "ajax": "objects.txt", "columns": [ { "data": "name" },...
asked by 11.02.2016 / 21:31
1
answer

Serialize relationships Doctrine

How do I json the relationships of an entity in doctrine? I've looked around and made a few attempts but nothing that worked until now. I'm doing this and returns the normal json (without the relationships): $list = $this->getEm()->cr...
asked by 01.03.2016 / 23:01
0
answers

Accessing a value from a json array in Ajax

I'm working on a project in Laravel. I'm doing a dynamic search function using Ajax and Json. Function in controller: public static function busca_ajax() { $query = Input::get('query'); $resultados = Produto:...
asked by 02.03.2016 / 17:56
1
answer

Convert JSON to 2 string in php

Good. I have a json file that I wanted to convert to 2 string in php and then write to the database; my json currently comes like this: [ [ 1455628560, 2340 ], [ 1455628620, 2340 ], ] My problem is to select the...
asked by 17.02.2016 / 11:38
0
answers

Java working JSON

Well, I'm starting my studies in java, so I'm a little rough on the possibilities, libraries and other qualities that exist in JAVA programming. In many doubts I would like to understand if there is any way to get an object of type Res...
asked by 29.01.2016 / 11:34