Questions tagged as 'json'

1
answer

How do I edit and delete the data in a json file?

I am using this code to include and list the data saved in the file "user.json" wanted to saver how do I delete this data and edit it <?php $users = @json_decode(file_get_contents('users.json'), true); if(!$users)...
asked by 12.10.2016 / 04:11
2
answers

Convert Json to XML

I have this code: using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Diagnostics; using System.Xml; using Newtonsoft.Json; using System.Net; using System.Xml.Linq; using Newtonsoft.Json....
asked by 23.11.2015 / 00:13
1
answer

JSON API accents Restful [closed]

Good morning, I'm creating an API for studying, but I'm having some issues with accents. When I do a search, I have a response of not found. Below is a test. Would you have a solution for me to solve this situation? Q: Usi...
asked by 15.05.2016 / 17:53
1
answer

Mount Query for Last Record NoSQL Google Datastore

I'm working with Google's Datastore and I'm not getting a Query to get back what I need. Situation I have a Entity , with key pair {"item": codItem, "item": id} , still inside this Entity I have the property codCliente. Fo...
asked by 09.06.2017 / 15:39
1
answer

Send id by URL to full calendar

I use Full Calendar to display a calendar on my system, but I am not able to send a id through the url of the file that json mounts with the dates, and I need to filter the events that are only bound to this id . Here is my code b...
asked by 27.05.2017 / 03:39
1
answer

Problem with json on angularjs

I'm developing a mobile application and I'm retrieving a list of data from the database. What happens and between each data is always a% com_of% "comma" and I do not know how to remove it. I leave below a print of what happens: Control...
asked by 20.09.2015 / 22:34
0
answers

PostgreSQL NoSQL and integration between relational and non-relational databases

I've been searching for PostgreSQL NoSQL and found the Key-Value Stores concept in some HSTORE publications. I also looked into the integration between PostgreSQL and the Spring framework and found the following code example: package com.j...
asked by 01.11.2015 / 17:04
1
answer

How to sum array data in json specified by date

array(10) { [0]=> array(4) { ["data"]=> string(10) "01/11/2015" ["valor"]=> int(50) ["intensidade"]=> float(37.5) ["carga"]=> int(35) } [1]=> array(4) { ["data"]=> string(10)...
asked by 31.10.2015 / 22:05
1
answer

Api Google - SEO - Google Index and Google plus via json

I need to retrieve via json or some other way Google's SEO information to feed my database .. For now they are just Google Index and Google + Does anyone know how I can do this ?? Or does someone have an example of using the Google API to...
asked by 27.05.2015 / 00:58
2
answers

Serialization of a large list in JSON.Net

I have a problem with the serialization of an object (a list of a class with approximately 5000 items). I am using JSON.NET to generate the Json string but it is getting the following problem, in the middle of it is a text like this: ,{"Sta...
asked by 23.12.2015 / 14:35