mistre83_1 Posted October 5, 2020 Share Posted October 5, 2020 I have a field of type java.util.GregorianCalendar<field name="tripDate" class="java.util.GregorianCalendar"/>[/code]I need to create a JSON datasource and pass this field. For String/Boolean and numbers all is ok, i can simply create the JSON datasource.But, how i can pass a GregorianCalendar from JSON to Jasper?In any cases, i got the error:Unable to get value for JSON field "tripDate" of class java.util.GregorianCalendarField "tripDate" is of class java.util.GregorianCalendar and can not be converted.[/code] Link to comment Share on other sites More sharing options...
narcism Posted October 6, 2020 Share Posted October 6, 2020 Answered here already: https://stackoverflow.com/a/64222303/5882963 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now