Export to Json not handling nulls correctly.


When I use Json metadata on my report and export to json, when a text field evaluates to a null value, instead of printing this: {... "field"=null ...} it's being printed this: {... "field"="null" ...}.

Jasperreports is handling null as the String "null". If I set the field to "blank when null" this is printed: {... "field"="" ...}

gustavofarias's picture
Joined: May 22 2012 - 7:10am
Last seen: 1 day 19 hours ago

0 Answers:

No answers yet