JSON (JavaScript Object Notation) aka the Fat Free Alternative to XML is a lightweight data exchange format inspired by JavaScript object literals. It is often used with JavaScript, Ajax, and RESTful web services but is completely language independent.
0
votes
2answers
115 views
Recommended way to program a secure, real-time website [on hold]
I would like to start a project where many transactions (could be hundreds) will happen in one minute. These transactions have to be shown in real-time into a user panel and also stored into the ...
1
vote
1answer
128 views
JSON Library - Jackson or Play Framework? [on hold]
Working on a Java and Scala code-base, there's a debate about whether to use Java's Jackson JSON or the Play Framework's JSON Library.
After reading the Play JSON Docs, as well as Chapter 9 (JSON) of ...
-1
votes
0answers
18 views
On a postback the ajax call to a WCF webservice uses postData but the JSON.stringify fails on mainly IE though works fine in Chrome and FireFox [migrated]
I have a Dynatree and onSelect: function(select, node)
I call a routine SaveUserTree()
In this routine, I get the latest toDict() on the tree which then is passed to a JSON stringify function. The ...
-1
votes
1answer
37 views
Is using couchdb prefered over having to store data in many json files?
Currently, we are using many json files to store the data. An example json will be like below,
{
"metaid":"1234",
"last_modified":"1\/14\/2014 at 2:15 pm ET",
"AcademicCalendar":{
...
6
votes
2answers
193 views
How can I share data across several websites?
I am trying to develop a simple system for sharing data across several websites. Most of them are developed in PHP while some are developed in Wordpress/Drupal. Redundant information is spread across ...
0
votes
0answers
52 views
Can I share ~1k of dynamically updated data between HTML5/JS pages using only apache2?
I have an HTML5/Javascript web site. There is a form which updates JSON data. There are other pages which I would like to load that JSON data dynamically. I know how to do this via Tomcat/JSP but I'd ...
3
votes
1answer
208 views
Is it possible to protect json api scraping using random tokens?
I have built a restful json api for an online store using Laravel.
I now wish to create an AngularJS app to run the front-end web application. Product prices for my store need to update every second, ...
1
vote
1answer
75 views
Image strategy on Android
I am creating an application with lots of photos. They will take > 100 mb on memory. So far I have 3 ideas:
Place it in @drawable - app will be heavy
Download by JSON and place in java ...
0
votes
1answer
64 views
What is a cross-platform way to expose an Array[][] over a webservice? Any JSON nuances to be aware of?
I need to expose an Array[][] to many different clients (iPhone, Android, PC, Unix, etc), and need to make it available over HTTP/s
This brings me to JSON, and makes me wonder how do all the other ...
3
votes
2answers
92 views
Shoud I directly return a string message or rather a i18n key when dealing with JSON api?
Suppose a rest api returning this json:
{
"status" : "fail",
"data" : { "title" : "A title is required" }
}
Since the client application would always adapt the error message, would it be ...
0
votes
3answers
528 views
What is the need of Odata when I have JSON ?
I am trying to understand the point of Odata and when it would make sense. Right now how I work is I use ASP.NET and MVC/WebApi controller to serialize/deserialize objects into JSON and have ...
1
vote
1answer
296 views
Web application / Domain model integration using JSON capable DTOs
I'm a bit confused about architectural choices for the web-applications/java/python world. For c/c++ world the available (open source) choices to implement web applications is pretty limited to zero, ...
0
votes
0answers
397 views
Syncing client and server CRUD operations using json and php
I'm working on some code to sync the state of models between client (being a javascript application) and server. Often I end up writing redundant code to track the client and server objects so I can ...
1
vote
2answers
640 views
Is it wise to store a big lump of json on a database row
I have this project which stores product details from amazon into the database.
Just to give you an idea on how big it is:
[{"title":"Genetic Engineering (Opposing ...
3
votes
1answer
62 views
An extensible logging architecture for Android?
The end goal is to have a variety of data sets that can all be graphically plotted against eachother.
All data should correspond to a date, so that when plotted against each other, they show the ...