Questions tagged as 'json'

1
answer

Print list of data json

I need to get the data from a json file and with that data generate a list corresponding to the category that it belongs to for example if it is the technology category I need to generate a list of all the items that are of that category, if it...
asked by 23.10.2018 / 03:16
1
answer

How to create a JSON file from a JS?

Hello, I created a simple page where the user can set some fields. I need to implement the following function: When you click the Create button, the application should generate a JSON file with all the fields that were created. As I know almost...
asked by 10.11.2018 / 12:50
1
answer

Popular ClientDataSet with JSON truncates data in 255 characters

I'm trying to pass a JSON to a TClientDataSet using the following function: procedure JsonToDataset(aDataset : TDataSet; aJSON : string); var JObj: TJSONObject; JArr: TJSONArray; vConv : TCustomJSONDataSetAdapter; i: Integer; begin i...
asked by 21.03.2018 / 16:01
2
answers

Can I use a JSON file as a database?

I want to start a project, however I do not want to create a database so I would like to know if I could use a json file as a database.     
asked by 03.05.2018 / 01:50
1
answer

Create JSON from Bank Select

Populate a mysql database with data in this format:  andIwantedtoreturnthisinjsonusingphp,theproblemisthatIhaveforexampleseverallineswiththesamestate,andneedtoreturnthejsonstringformat:{"Estados": { "Espirito Santo": { "Cidades": {...
asked by 08.03.2018 / 18:31
1
answer

Error: C # The name 'Json' does not exist in the current context

I have the following error in C # ' The name' Json 'does not exist in the current context ' in my application. I followed all the steps recommended by various sites, such as adding such references and such, but the error continued. using Syste...
asked by 07.02.2018 / 13:18
1
answer

Pass values to PHP file with JSON

I have the following code that runs on any PC and requests information for a PHP file on a remote server. How do I pass a parameter to this PHP using this my JSON code? So I can send a die and get a processed render. I know it sounds li...
asked by 25.06.2014 / 21:57
1
answer

Get json element with PHP

I made a print_r () of a result in json which gave the following: stdClass Object ( [status] => 1 [resultado] => stdClass Object ( [BUSCA_BIN] => stdClass Object ( [BUSCA...
asked by 06.10.2017 / 01:15
1
answer

Manipulating a JSON with the GSON library

This is json: { "professor": [ { "latitude": -23.1843473, "longitude": -45.8840718, "title": "Microcamp", "endereco": "rua vilaça 2010" }, { "latitude": -23.1843473, "longitude": -45.8840718, "title": "Microcamp", "endereco": "...
asked by 30.10.2017 / 13:09
1
answer

How can I go through this JSON and retrieve the Movies list?

I'm having trouble traversing this JSON and extracting data from the Array "movies". Follow JSON: ( link ) The error is this:    java.lang.NullPointerException on for (Movies m: catalogoMovies.movies) Here's a snippet of code: Ret...
asked by 17.08.2017 / 06:22