parse_str

class convert2.parse_str.Anything2Str[source]

Parse anything to str

The logic:

  • bytes: auto detect encoding and then decode
  • other: stringlize it