I'm working on json and I really need to get this structure:
{
"Identidade":
[
{ "numero": 1704, "numeroFinal": 1804, "id": 28 },
{ "numero": 1806, "numeroFinal": 1905, "id": 28 },
{ "numero...
I have an external json file and I want to use its data in several functions that I have, but I can not, only when I put all the json inside a variable.
I researched and ended up finding this example:
function fetchJSONFile(path, callback)...
I'm having a little problem with angular and wondered if anyone can help me, I was asked the following task to make a shelf from the products of an external JSON (where you have all the info of each product).
const API_URL = '/caminho/para...
I have this JSON ["{\"clube\":[\"Flamengo\"]}"] , and when I run this code:
$clubes = '["{\"clube\":[\"Flamengo\"]}"]';
$clubes = json_decode($clubes, true);
array_push($clubes->clube, 'Santos');
return $clubes;
I have this error a...
Hello, I can not create a chart line using the Highcharts plugin, where the X axis is separated by months (Jan, Feb, etc ...) and the Y axis is the number of new clients based on these months.
Below is how my json is formed.
[{
"newCusto...
I'm doing an API in java to be consumed by Excel.
I'm doing a select from the bank bringing the columns in the right order,
but when it arrives in Excel comes in a crazy order.
I also made a method with:
Class.forName("className").getDeclar...
Hello, I can not do the conversion, my string is coming like this.
{
"empresa1":
{
"category_id" : "Item 1",
"id" : 1,
"imagePath" : "imagem",
"name" : "empresa 1",
"short_desc" : "desc da empresa 1"
},
"empresa2":...
I have the following situation, I have an object called Item , with a value variable in it.
When I enter the value in the json object it changes from 1 or 2 houses after the comma to 15 houses after the comma.
Ex: value is 8.9 and chang...
I'm facing a problem that at the moment I do not know how to solve.
Being straightforward, I'm having trouble sending through a java application the data in json for a page in php. Basically, I have a page in php that receives the data through t...
I'm creating a webservice that queries in a DW these queries because they have aggregation functions and everything takes a bit more time than normal (something around 2 - 5 minutes), but the client does not wait for this query terminating it un...