Powered by Blogger.

JSON Interview Questions



JSON Interview Questions

JSON Interview Questions

These JSON Interview Questions are useful for all interview related to web design as well as server side coding.
What is the full form of JSON?
JSON stands for JavaScript Object Notation.

How many data types are there in JSON?
There are six types of data types in JSON -

  • Number
  • String
  • Boolean
  • Array
  • Object
  • Null

What is MIME type for JSON data?
MIME type is application/json.

What is the use of JSON.stringify() function?
JSON.stringify() function is used to convert a JavaScript value(Object) into a JSON string.

What is the purpose of JSON.parse() function?
This function is used to convert JSON string into a JavaScript object.

Which functions are used for encoding and decoding JSON in PHP?
For encoding, json_encode() function is used. This function takes PHP value like array as input and returns JSON representation of it. For decoding, json_decode() function is used. This function takes JSON string as input and returns associative array.

Who is the Father of JSON
Douglas Crockford is the Creator or Father of JSON.

What is JSON?
JSON full form is JavaScript Object Notation. JSON is a lightweight text-based open standard designed for human-readable data interchange

What is the file extension of JSON?
The JSON filename extension is .json.

Explain JSON with php.
Json is too much easy with php There is no installation needed to use these functions; they are part of the PHP core. nothing more need to know just only use { ,[ and create json format string and use three php function json_encode() to get JSON representation of a value, json_decode() for Decodes a JSON string, ¦json_last_error() to get the last error occurred in process.




facebook
google-plus
twitter
pinterest

No comments :

Post a Comment

HTML Tutorial

images

About Sitesbay

This blog is related to Java Tutorial, C++ Tutorial, C Tutorial, Online Earning tips and more in very simple and easy way. Here i will try to give complete idea related to all new technology.

Java Tutorial

Java is Object oriented programming language, It is more secure and high performance language.

C++ Tutorial

C++ is also Object oriented programming language, It is more simple and easy to learn.

 
https://sitesbay.blogspot.com/?utm_medium=d2898efa59afcc0bc411921036e22b767ca37b09