I have a python string with newlines represented like this:
""members" : [\n\t\t{\n\t\t\t"_id ...."
I want to store the string in a variable but with the \n and \t converted into newlines and tabs:
"members" : [
{
"_id" .... "
The reason is because I'm using it in a command that I'm formatting and if I use .format(string) then it formats the command with the \n instead of the actual new line