I want to create a parameter of type drop down using jaspersoft studio 6.2.0 (I am not using JasperServer) and populate data in this drop down from a JSON file. Based on the value selected in drop down paramter my report will be displayed.
Example: I have a JSON file which has data related to students. Suppose there is details of 100 students. Now I want to create a drop down parameter which will be populated with student name from the JSON file and on selecting any student from the drop down, details of that student should be generated.
JasperReports just needs the parameter to be passed it does not have any influence on how you handle the display of that to your user.
For more infor on using parameters look into: http://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-us...
If you want to have a drop down list in Jaspersoft Studio, just create a parameter with datatype java.util.List.
If you set the report language to Groovy, you'll be able to set something like ["First", "Second"]. You'll need to convert your JSON to List.