JSON


Types

str

String

"This is a string!"

int

Integer

64

float

Float (number with decimal point)

64.0

bool

Boolean value (either true or false)

true

list

List (collection of data that can be mutated)

["A", 2]

JSON Object

A collection of keys and values together

{"A" : 1, "B" : 2}

Operators

{}

Declares a JSON object

,

Declares the next key and value

Declares the next element in a list

""

Declares a string

Declares a key

''

Declares a string

Declares a key

:

Declares a key and value

[]

Declares a list