Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

json update pytohn

import json

jsonData = '{"ID":"123", "Name": "Hamza"}'

data = json.loads(jsonData)

newData = {"DOB": "22-10-2001"}

data.update(newData)

print(data)
Source by likegeeks.com #
 
PREVIOUS NEXT
Tagged: #json #update #pytohn
ADD COMMENT
Topic
Name
9+8 =