I want to put string into json.dumps() string = "{data}" print json.dumps(string) And I get: "{data}" instead of: {data} How I can get this string without quotes? Method replace: json.dumps(string.replace('"', '') or strip: json.dumps(string.strip('"') Does not work. Continue reading...