Human: json quotes in string. Assistant: 
Here is a Python program to json quotes in string

import json

def json_quotes(string):
    """
    Escape quotes in a json string.
    """
    return string.replace('"', '\\"')

# Enter the json string
string = "{\"a\": \"b\"}"

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

#Example Output
# {\"a\": \"b\"}

#Remember to inspect code for bugs.