<div dir="ltr"><div><snip><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm writing automated test scripts.  Unfortunately for me, input<br>
configuration is XML, and I use "xmlstarlet" to get data from that.  The<br>
output is JSON, and I need to extract data from that to say "Pass" or<br>
"Fail".<br></blockquote><div><snip> <br></div><div><br></div><div>Hi William, I have attached 3 files. Put all 3 files in the same folder/directory and</div><div>run using the terminal: <br></div><div><br></div><div>1 - python duplicates.py <br></div><div>2 - python duplicates2.py<br></div><div><br></div><div>The file 'duplicates.py' will detect duplicates in json passed in as a 'string'  form.</div><div><br></div><div>The file 'duplicates2.py' will detect duplicates read from a disk file ( in this case the file william.json)</div><div><br></div><div>I have no idea how comfortable you are with python but do go through all 3 files. it</div><div>is not hard to understand. If you have questions please let me know. At least this will help</div><div>you extract what you need.<br></div><div><br></div><div>Hope this helps - Aruna <br></div></div></div>