<div dir="ltr">I have the following code.
<div><div> Tx=jiffy:decode(<<"{\"foo\": \"bar\",\"key\": \"val\"}">>).</div><div><br></div><div>where Tx is:</div><div>{[{<<"foo">>,<<"bar">>},{<<"key">>,<<"val">>}]}</div></div><div><br></div><div>I tried the following:</div><div><br></div><div><div>maps:get("foo",Tx).   </div><div>** exception error: {badmap,{[{<<"foo">>,<<"bar">>},{<<"key">>,<<"val">>}]}}</div><div>     in function  maps:get/2</div><div>        called as maps:get("foo",</div><div>                           {[{<<"foo">>,<<"bar">>},{<<"key">>,<<"val">>}]})</div></div><div><br></div><div>Any Idea on what I am doing wrong? any possible solutions?</div><div>I Couldn't find any documentation to access this type of map.</div><div><br></div></div>