Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

python json replace string

with open('file.json', 'r+') as file:
    content = file.read()
    file.seek(0)
    content.replace('string_replaced', 'new_string')
    file.write(content)
 
PREVIOUS NEXT
Tagged: #python #json #replace #string
ADD COMMENT
Topic
Name
6+5 =