Hello. I’m working on running python file by elixir.
The python file returns dict, and elixir parses it as map. But its keys are charlists like this:
%{'graph' => {:"$erlport.opaque", :python, <<128, 2, 99, 110, 101, 111, 52, 106, 46, 103, 114, 97, 112, 104, 10, 71, 114, 97, 112, 104, 10, 113, 0, 41, 129, 113, 1, 125, 113, 2, 40, 88, 6, 0, 0, 0, 95, 110, 111, 100, 101, 115, 113, 3, 125, 113, ...>>}, 'id' => 7, 'labels' => ...
I have never seen a map which has charlist keys, so I’d like to convert the key to string, but I don’t still find a good way to do it. Do you have an idea for it? Thank you