<p>Hi,</p>
<p> </p>
<p>I need to create a report that using Json formatted data as source.</p>
<p>For my tests, I used a parameters called jSonData where I just copied a jSon Data sample.</p>
<p> </p>
<p>I was a able to retrieve all the data I needed and create the report design by using the eval() old school style.</p>
<p> </p>
<p>Now, in production, JSon data will come from a server. Means that I have to use a specific url. This url sent me back the Json Data as content.</p>
<p> </p>
<p>I thought that it will be simple, In fact, it's just stream an url content to a string and make an eval on this string.</p>
<p>But it seems that inputstream is not so easy on BIRT scripting cause I do not found how to do that.</p>
<p> </p>
<p> </p>
<p>Spend couple of hours to looking for a little piece of code that will save me

</p>
<p>I found several nice information to use url for XML DataSource. </p>
<p> </p>
<p>Found that I may can use jsonparser but my "dear" customer explicitly explained that "no additionnal jar files can be deployed on his server".</p>
<p>Why doing simple when it can be complex ? :P Enjoy !!</p>
<p> </p>
<p>Did someone can explain me how can I get the content from an URL to a string ?</p>
<p> </p>
<p>Thanks for your help.</p>
<p> </p>
<p> </p>