Skip to end of banner
Go to start of banner

u.JsonNaarObject(json_string)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Op basis van een JSON input string, wordt dit omgezet naar een object.

#Create variable with JSON
json = """{
  CPU: 'Intel',
  Drives: [
    'DVD read/writer',
    '500 gigabyte hard drive'
  ]
}"""

#Set JSON to object
o = u.JsonNaarObject(json)

#Give result from just one attribute within the JSON object
o.CPU

  • No labels