Skip to content

Micronaut Serialization - how to include empty list properties in response body? #7289

Discussion options

You must be logged in to vote

You can inject a JsonMapper into a unit test and use it to serialize your object manually.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jehrenzweig-leagueapps
Comment options

@yawkat
Comment options

@jehrenzweig-leagueapps
Comment options

@yawkat
Comment options

@jehrenzweig-leagueapps
Comment options

Answer selected by jehrenzweig-leagueapps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants