# \`string(dict)\` loses information

**URL:** https://discourse.julialang.org/t/string-dict-loses-information/15489
**Category:** General Usage
**Created:** [September 25, 2018, 9:58pm UTC](https://discourse.julialang.org/t/string-dict-loses-information/15489 "2018-09-25T21:58:37Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)
#### Post date: [September 26, 2018, 9:23am UTC](https://discourse.julialang.org/t/string-dict-loses-information/15489/5 "2018-09-26T09:23:06Z")

</div>

Indeed one shouldn’t rely on that for `string`. which is just “give me a string at represents this in some way”.

I feel like we should be able to rely on it for `repr`.  
I think we should have have python’s convention,  
which is roughly: _if it parses, then evaling it should give back the same as a deep copy._

But we did not adopt that convention, and it is a breaking change.  
So you can not

---

_[View the full topic](https://discourse.julialang.org/t/string-dict-loses-information/15489)._
