Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

python append to json file

import json
with open(path) as f
	data = json.load(f)
	data["new"] = "penguin"
	json.dump(data,f)
 
PREVIOUS NEXT
Tagged: #python #append #json #file
ADD COMMENT
Topic
Name
7+6 =