henryj320 / python_projects

This is a repository for all of my Python projects. The README contains all of the Completed and Future project ideas.
0 stars 0 forks source link

Create a script/function to convert text to JSON #11

Open henryj320 opened 2 years ago

henryj320 commented 2 years ago

Make a script that converts the description of a calendar event into JSON and store that inside a variable. This will somehow need to extract the group.

{
    "session_number": 1,
    "group: "push",
    "muscles":
        [
            {
                "name": "pecs",
                "exercises": ["bench press", "dumbell chest flys"]
            }
            {
                "name": "triceps",
                "exercises": ["tricep pull-downs", "skullcrushers"]
            }
        ]
}