Posts

Showing posts with the label JSON Tutorial for Beginner

JSON Tutorial for Beginners | JSON Formatter & Validator & Comment | Part-5

Image
JSON Comments JSON doesn't support comments. It is not a standard. But you can do some tricks such as adding extra attribute for comment in JSON object, for example:  Visit Our Channel : (Playlists) https://www.youtube.com/channel/UCHIbErciyS3Hs0kjAz-at5Q/playlists 1) Learn Bootstrap : https://www.youtube.com/watch?v=cJCLwnhefWI&list=PL_HlKez9XCSMlD8O-JU3KhxgGd4AwLLZs 2) PHP Tutorial for Beginners (For Absolute Beginners)  : https://www.youtube.com/watch?v=eOoikS8JIDo&list=PL_HlKez9XCSOhiI5sKVYTE36Dv_rOFa6g 3) AngularJS Tutorial for Beginners  : https://www.youtube.com/watch?v=sXUXF2hyJsg&list=PL_HlKez9XCSOkdxgl-7CxJ3JalFKqLC0s 4) Java Tutorial For Beginners (Step by Step tutorial)  : https://www.youtube.com/watch?v=gl0evZRSGyc&list=PL_HlKez9XCSOXdDbsmQspUnE-VuLoKZ2I 5) Whats new in PHP 7 in Hindi : https://www.youtube.com/watch?v=iHCi6qWHOs0&list=PL_HlKez9XCSNDJdKKvZn7T7fhsu-GKHHT 6) Build a PHP MVC Application : https://www.yo...

JSON Tutorial for Beginners | JSON Data Types? | Part-4

Image
JSON Data Types ---Valid Data Types In JSON, values must be one of the following data types:     a string     a number     an object (JSON object)     an array     a boolean     null JSON values cannot be one of the following data types:     a function     a date     undefined     JSON Strings Strings in JSON must be written in double quotes. Example { "name":"John" } JSON Numbers Numbers in JSON must be an integer or a floating point. Example { "age":30 } JSON Objects Values in JSON can be objects. { "employee":{ "name":"John", "age":30, "city":"New York" } } JSON Arrays Values in JSON can be arrays. Example { "employees":[ "John", "Anna", "Peter" ] } JSON Booleans Values in JSON can be true/false. Example { "sale":true }  Visit Our Channel : (Playlists) https://www.youtube.com/channel/UCHIbErciyS3Hs0kjAz-at5Q/playli...

JSON Tutorial for Beginners | JSON Syntax Rules? | Part-2

Image
JSON Tutorial for Beginners | JSON Syntax Rules? | Part-2 JSON Syntax Rules ?? What is JSON?     JSON stands for JavaScript Object Notation     JSON is lightweight data interchange format     JSON is language independent *     JSON is "self-describing" and easy to understand * The JSON syntax is derived from JavaScript object notation syntax, but the JSON format is text only. Code for reading and generating JSON data can be written in any programming language. JSON Syntax Rules     Data is in name/value pairs     Data is separated by commas     Curly braces hold objects     Square brackets hold arrays  JSON Data - A Name and a Value JSON data is written as name/value pairs. A name/value pair consists of a field name (in double quotes), follo wed by a colon, followed by a value: Example "name":"John" JSON - Evaluates to JavaScript Objects The JSON fo...

What is JSON | Introduction | Part-1

Image
What is JSON | Introduction | Part-1   JSON - Introduction JSON: JavaScript Object Notation. JSON is a syntax for storing and exchanging data. JSON is text, written with JavaScript object notation. Exchanging Data When exchanging data between a browser and a server,  the data can only be text. JSON is text, and we can convert any JavaScript object into JSON, and send JSON to the server. We can also convert any JSON received from the server into JavaScript objects. This way we can work with the data as JavaScript objects,  with no complicated parsing and translations.  Visit Our Channel : (Playlists) https://www.youtube.com/channel/UCHIbErciyS3Hs0kjAz-at5Q/playlists 1) Learn Bootstrap : https://www.youtube.com/watch?v=cJCLwnhefWI&list=PL_HlKez9XCSMlD8O-JU3KhxgGd4AwLLZs 2) PHP Tutorial for Beginners (For Absolute Beginners)  : https://www.youtube.com/watch?v=eOoikS8JIDo&list=PL_HlKez9XCSOhiI5sKVYTE36Dv_rOFa6g 3) AngularJS Tutorial for Beginners...