<human>:  json quotes in string.
<bot>: Here is a Python function to json quotes in string

import json

def json_quote(s):
  """
  Escape special characters in a string.
  """
  return s.replace('"', '\\"')

# Enter the string
string = "{\"name\": \"rose\", \"watts\": 100, \"type\": \"DC\", \"id\": \"1\"}"

# Calling the function
print((json_quote(string)))

#Example Output
# {\"name\": \"rose\", \"watts\": 100, \"type\": \"DC\", \"id\": \"1\"}

#Remember to inspect code for bugs.