Quantcast
Channel: Question and Answer » json
Browsing all 148 articles
Browse latest View live

Is there are way to import non-geo JSON files into QGIS?

Here is a json file containing various attributes relating to countries. However, it does not contain any geographic data. http://bost.ocks.org/mike/nations/nations.json I would like to join these...

View Article


How do I show feature attributes in a Leaflet popup?

So I have a JSON file displayed on my leaflet webmap. I would like to have it so a popup will appear when a feature is clicked. Right now it is a polygon feature. How do I call up information from the...

View Article


How can I represent a flowchart, complete with conditional logic using JSON...

One part of a project I’m working on is interactive scripts for call centre staff. Pretty much every possibility I can think of in this case can be represented on paper as a flowchart, which is why...

View Article

How Should I Design JSON Serializable Data Classes To Respect Future @NonNull...

I have an app that uses Gson to serialize/deserialize data classes and persist data between runs. My code uses @NonNull annotations for many fields/parameters/method returns and one thing that was What...

View Article

Generate, edit, store and export documents in web application [closed]

So i was thinking about writing a document (layout?) system. Why reinvent the wheel? Well, I want a wheel that fits my cart. Im doing a “larger” web-based application and need to...

View Article


Is the escaping provided by the Google-Gson library enough to ensure a safe...

I am currently using the Google-Gson library to convert Java objects into JSON inside a web service. Once the object has been converted to JSON, it is returned to the client to be converted into a JSON...

View Article

Generate GeoJSON from MongDB Query

I want to extract my MongoDB query in a GeoJSON format it order to be able to visualize the result. I use Robomongo, which seems to be able to generate a JSON format. After I run the query, this file...

View Article

How to read the json in controller as parameter [on hold]

I am posting a json message from javascript, and same i am trying to read it in the controller method. In the action method i am not able to convert the data object to json format, please guide me how...

View Article


How to add the geometry to google maps from geojson(retrieved as json) for a...

I have a array called place_names which holds some place names. I have a geojson layer loaded in my cartodb, which has three columns id, name and the_geom(which is a geometry object) that can be...

View Article


Is this a secure way to handle a JSONP response?

I am working on a non-critical script which will be run periodically – it’s really just for the entertainment of the dev team. Because it’s for fun, it does not really matter if it crashes sometimes...

View Article

How do I convert the output of ps(1) to JSON?

I want to convert the output of the command ps to JSON in order to process it as structured data (with jq in this particular case). How do I do that? The output looks like the following: PID TTY TIME...

View Article

How to handle translations in JSON? [closed]

I am wondering what would be the most appropriate method to handle translations in JSON files in terms of arrays and objects. Considering an object has properties related to itself, is a translation a...

View Article

Remove a field from json in wp rest api v1

I want to create an android app for a WordPress blog using WordPress rest api. For optimization I want to remove content field and some other fields when I get all post to show them in my main list and...

View Article


Get Title and ID of CartoDB-Visualizations

How can I get the ID and Title of my CartoDB-Visualization via viz.json $mapVis = cartodb.createVis('map', http://[username].cartodb.com/api/v2/viz/[id]/viz.json, visOptionsM); $mapVis.on('done',...

View Article

MySQL json column and MariaDB [closed]

As of MySQL 5.7.8, MySQL supports a native JSON data type that enables efficient access to data in JSON (JavaScript Object Notation) documents. Currently, we use MariaDB. Does this new feature retire...

View Article


Hybrid mobile SP2013 client

I already have a native iOS app that uses SP rest api without issues. My plan is to port this app into a hybrid one and make it cross platform using Cordova. Basically I want to mimic the native...

View Article

How to Handle Duplicate Web Requests on Server

I’m running a Twisted web server and trying to figure out a good way to handle retries from the client. In normal operation the client makes a request of the server with some JSON data and receives a...

View Article


Passing Data Between Tiers in 3-Tier Architecture

Assuming we are talking physical tiers, my understanding is that in order to pass data from say the data tier to the business logic tier the JSON format is used (or XML), so say I have an ORM...

View Article

How to send long JSON objects (polygon geometry, table rows) in POST request...

I am seeking to understand my options for sending long JSON objects in a request to a Geoprocessing Service. In particular, I am looking for some example code to illustrate how to include two long JSON...

View Article

importing third party json feed as custom post type [closed]

I have a third party json feed http://feeds.artlogic.net/artworks/artlogiconline/json/ that i need to use to import data in wordpress as a custom post type called “artwork”. Are there are handy plugins...

View Article
Browsing all 148 articles
Browse latest View live