Module json

← Back to All Modules





Description

JSON encoder and decoder module. This module supports RFC 8259 JSON Standard.


Example

import json
 
request = json.encode({
    "name": "Sarah Zaira",
    "id": "0122A",
    "age": 22,
    "homepage": "https://sarahzaira.com",
    "hobbies": [
        "Reading",
        "Travelling",
    ]
})
 
data = json.decode(request)
 
writer(data)
writeln(data.name)


Constants


Functions

There are no functions.


Classes