I have an encoded string stored in my DB that kinda looks like this (altered for confidentiality):
\x7b22747c
How do I decode this string? (Using either Java or Python)
There is code elsewhere that used tobytes()
function to decode it. But I don't own the code so I am not sure what it's doing.