Jump to content
We've recently updated our Privacy Statement, available here ×

Export to Json not handling nulls correctly.


gustavofarias

Recommended Posts

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"="" ...}

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...