Anyone know of an open source Jasper Reports DataSource implementation that can handle JSON data? I'd like to utilize JSON data from a RESTful API in some custom reports. Before I build it myself, I figured I'd check if something already exists.
相关问题
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Easiest way to get json and parse it using JQuery
- Newtonsoft DeserializeXNode expands internal array
相关文章
- json_encode 没有把数组转为json
- Livy Server: return a dataframe as JSON?
- Unexpected end of JSON input from an ajax call
- How do I do a nested list (array) of schema refere
- iconv() Vs. utf8_encode()
- Convert C# Object to Json Object
- LINQ .Include() properties from sub-types in TPH i
- How to make a custom list deserializer in Gson?
There is a JSON Datasource in Jasper 5.0.1. I think it is new with V5.
http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/data/JsonDataSource.html
The API doesn't tell you much. Haven't found documentation for it yet. The JasperReports Ultimate Guide I just downloaded (dated 1/15/2013) doesn't seem to have been updated with it.
I suspect it works somewhat like the XML Datasource: you use paths (XPATH in the case of XML) to specify the fields.
there is a sample of JsonDataSource in the 4.5.0 version of jasperreports at *\demo\samples\jsondatasource*