Mock tests, Interview questions, Tutorials and Tech news
 
 

Archive

Posts Tagged ‘json’

Working with JSON CSS

May 2nd, 2010 fanand 3 comments

In our last tutorial JSON Javascript tutorial , we had covered about basics of JSON . In next couple of  posts,  we will talk about some of smart tricks and tips while using JSON.

CSS JSON

Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents. JSON (JavaScript Object Notation) is a lightweight data-interchange format. CSS may easily be expressed in JSON notation (CSS JSON). CSS JSON is a powerful and flexible approach allowing for inheritance and logical constructs within CSS.

CSS JSON Structure

{

“selector-1″:{

“property-1″:”value-1″,

“property-n”:”value-n”

}

} Read more…

Categories: Programming / tutorials Tags: ,

Spring adds JSON support

January 27th, 2010 Vinay No comments

We had posted a tutorial example on JSON  Java script sometimes back. It became a pretty popular post and people gave good feedback about it.  Some how the post got deleted and with it all the user’s comment. We apologize to our users. Here is the post JSON JavaScript Tutorial.   JSON is really cool and gives a lot of power in hands of developer.

Spring 3.0 which has come up with a lot of simplification like asynchronous method invocation , have also simplified AJAX calls.  You can now now invoke server side code with JSON and Spring 3 provide support for that. Details on it can be read from Spring Source blog AJAX Simplification in Spring 3

PS: Last time I checked out the spring blog,  the above url was pointing to wrong post. They might have fixed it by now

JSON Javascript Tutorial

January 27th, 2010 Vinay 17 comments

Introduction : Before we begin our journey of JSON, let’s write down a small piece of code .

<html>
<head>
<script language=”javascript”>
var objTest = {
“TestName” : “SCJP 5 Mock Test”,
“Description” : “This has questions for SCJP 5 mock test”,
“Rating” : 4
};
</script>
</head>
</html>

Our first reaction would be “Hey, wait. This is java script code. What is new in this?”. Welcome to the world of JSON. Read more…

Get Adobe Flash playerPlugin by wpburn.com wordpress themes