Javascript Object Notation

learn more… | top users | synonyms

48
votes
12answers
4k views

Can we replace XML with JSON entirely?

I'm sure lots of developers are familiar with XML and JSON, and they've used both of them. Thus no point in explaining what they are, and what is their purpose, even in brief. If we try to map their ...
12
votes
6answers
440 views

Is saying “JSON Object” redundant?

If JSON stands for JavaScript Object Notation, then when you say JSON object, aren't you really saying "JavaScript Object Notation Object"? Would saying "JSON string" be more correct? Or would it be ...
12
votes
2answers
940 views

Query language for JSON

I have a server which is returning very big JSON message and my client application is only dependent on part of this response. Client application needs to check if "xyz" property exist in JSON message ...
10
votes
5answers
553 views

Should I use JSON just to use JSON

I'm building a blogging site for learning, with a PHP/MySQl back-end. All of the user input is handled with forms sent in POST requests. Will using JSON somehow make it cleaner, or easier to maintain ...
9
votes
4answers
1k views

Should I include HTML markup in my JSON response?

In an e-commerce site, when adding an item to a cart, I'd like to show a popup window with the options you can choose. Imagine you're ordering an iPod Shuffle and now you have to choose the color and ...
7
votes
9answers
815 views

Is it worth Learning XML as a web developer when JSON is better for AJAX?

Is it worth Learning XML as a web developer when JSON is better for AJAX? or is it better to concentrate on JSON/Javascript for AJAX?
6
votes
6answers
437 views

Is using something other than XML advisable for my configuration file?

I have a small tool I'm designing which would require a configuration file of some sort. The configuration file in my case is really more of a database, but it needs to be lightweight, and if needed ...
6
votes
2answers
141 views

Logging in JSON Effect on Performance

I see more and more articles about logging in JSON. You can also find one on NodeJS blog. Why does everyone like it so much? I can only see more operations getting involved: A couple new objects ...
6
votes
2answers
375 views

Proper Use Of HTML Data Attributes

I'm writing several JavaScript plugins that are run automatically when the proper HTML markup is detected on the page. For example, when a tabs class is detected, the tabs plugin is loaded dynamically ...
5
votes
8answers
439 views

Should all new web projects build their backend based on xml/json result sets? [closed]

If you were building a new Saas project, would it make sense to start with all of the backend services returning xml/json? Because these days you need to build for both the web and mobile devices, ...
5
votes
3answers
1k views

Best method of communication between your app and your website? PHP, Web service, etc

I am creating an application which I would like to have communicate with my website. The app will have to get data for a particular app user from the website's database. I am unclear as to the best ...
5
votes
2answers
360 views

Looking for the tool that generated JSON Rail-Road grammar descriptions

I am currently working on a little language, and I'd like to express its grammar more rigorously. I know about EBNF and it's great to generate parsers (Bison/Yacc), however it's not that easy to ...
4
votes
3answers
906 views

Would a NoSQL DB be more efficient than a relational DB for storing JSON objects?

I am using a library that returns a JSON object (as a string, but I think that's standard), and I would like to store the contents of this object into a local database. I'm fairly fresh-faced in ...
4
votes
1answer
197 views

Advice on JavaScript library for visualizing Yahoo Pipe Output

I'm currently writing a JavaScript library. It is a project for school were I need to make it easier to visualize data from Yahoo Pipes. The data format is a JSON string, which can contain anything, ...
3
votes
3answers
244 views

Feedback on this back-end stack

I'm planning to setup an scalable architecture capable of providing web services on a REST interface where JSON will be sent as a result. The web services will be quite simple for a CRUD web 2.0 app. ...

1 2 3 4
15 30 50 per page