<div dir="ltr"><div><div>Hi, <br>please can you help me with this.......I have a json file which contains a field with name "data". Problem is that I can not create a data type with "data", (or can I)? How else can I handle this? I know I can convert all json to Object and then search for the field....but I was hoping for some friendly/easier option. <br><br><br></div>json example:<br><pre class="">{
  <span class="">"data"</span> : {
    <span class="">"foo"</span> : <span class="">"bar"</span>
  }<br>}<br><br><br></pre>below definition returns: parse error on input ‘data’<br>data Foo = Foo {<br>  data :: String<br>}<br><br><br></div>Cheers,<br>Miro<br></div>