We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I expect author entries to be serialized without the "empty" property:
"authors": [ { "name": "John Doe", "url": "mailto:[email protected]", "avatar": "https://staging.storage.noticeable.io/users/1hvH7RWx9CWe8QCskAHBcsgpbkF2/01h5m04a42c02czp09khyrx3bm-avatar.png" } ]
When serialized, the JSON feed contains an empty property that is not valid:
empty
"authors": [ { "name": "John Doe", "url": "mailto:[email protected]", "avatar": "https://staging.storage.noticeable.io/users/1hvH7RWx9CWe8QCskAHBcsgpbkF2/01h5m04a42c02czp09khyrx3bm-avatar.png", "empty": false } ]
The issue comes from this code:
https://github.com/micronaut-projects/micronaut-rss/blob/4.4.x/jsonfeed-core/src/main/java/io/micronaut/rss/jsonfeed/JsonFeedAuthor.java
I guess a @JsonIgnore annotation or Serde equivalent should be used on public boolean isEmpty() {.
@JsonIgnore
public boolean isEmpty() {
No response
4.4.2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
I expect author entries to be serialized without the "empty" property:
Actual Behaviour
When serialized, the JSON feed contains an
empty
property that is not valid:Steps To Reproduce
The issue comes from this code:
https://github.com/micronaut-projects/micronaut-rss/blob/4.4.x/jsonfeed-core/src/main/java/io/micronaut/rss/jsonfeed/JsonFeedAuthor.java
I guess a
@JsonIgnore
annotation or Serde equivalent should be used onpublic boolean isEmpty() {
.Environment Information
No response
Example Application
No response
Version
4.4.2
The text was updated successfully, but these errors were encountered: