Cheat Sheet
CtrlK
  • Master Programming & Cybersecurity Essentials
  • General
    • GIT
      • install
      • CLI Command
    • Docker
      • Install
      • Docker Syntax
      • CLI Command
    • Prompt Engineering & AI
    • README
  • Shortcut IDEs
  • Programming
    • HTML
      • Basic
      • Fonts
      • Tables
      • Lists
      • Links
      • Forms
      • Media
      • Header
      • Layouts
      • Graphics
      • ShortHands
      • HTML Unicode List
    • CSS
      • Basic
      • Properties
        • Box & Layout
        • Typography & Fonts
        • Backgrounds & Media
        • UI & Effects
      • Selectors
      • Layout Systems
      • Rules & Concepts
      • Responsive Design
      • Variables
      • Functions
      • Frameworks
      • Debugging & Tools
      • Colors
    • JSON
      • Data Types
      • Objects
      • Schema
      • Language Uses Json
    • XML
      • Basic Structure
      • Special Content
      • Validation
      • Data Models
      • Namespaces & Integration
    • MySQL
      • Install
      • Syntax
      • Queries
      • Functions
      • Indexes
      • Advanced
Powered by GitBook
On this page
  1. Programming
  2. JSON

Data Types

JSON supports the following data types:

Data Type
Description
Example

String

Text enclosed in double quotes

"Hello, world"

Number

Integer or floating-point number

42, 3.14

Boolean

True or false

true, false

Null

Represents a null value

null

Array

An ordered list of values

[1, "two", true]

Object

A collection of key-value pairs

{"name": "Alice"}

PreviousJSONNextObjects

Last updated 1 month ago