擅长:python、mysql、java
<p>也许只需使用Python的<code>repr</code>来存储该值并使用<a href="http://docs.python.org/library/ast.html" rel="nofollow">ast</a><code>.literal_eval</code>方法反序列化它:</p>
<pre><code>In [7]: ast.literal_eval (repr({"d": ["x", u"x"]}))
Out[7]: {'d': ['x', u'x']}
</code></pre>