You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@struts.apache.org by "lukaszlenart (via GitHub)" <gi...@apache.org> on 2026/10/10 10:43:39 UTC
[PR] WW-3364 docs: describe opt-in type converters in JSON serialization [struts-site]
lukaszlenart opened a new pull request, #348:
URL: https://github.com/apache/struts-site/pull/348
Fixes [WW-3364](https://issues.apache.org/jira/browse/WW-3364)
Documents the new `struts.json.writer.useTypeConverters` constant from apache/struts#2002 on the JSON plugin page, in a new "Using registered type converters" section after "Java records and Optional":
- enabling the constant and a before/after example with a `Money` converter
- which converters are used (per-type / application-wide only; superclass and interface registrations apply to subtypes; per-property mappings are not)
- natively serialized types are never converted — including `BigDecimal`, which is the example on the Type Conversion page
- `@JSONFieldBridge` precedence and the fallback when a converter fails
- a converted value is a single string, so nested `includeProperties` / `excludeProperties` patterns and member `@JSON` annotations no longer apply to it
Merge after apache/struts#2002; the "Since Struts 7.5.0" marker follows the ticket's fix version.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WW-3364 docs: describe opt-in type converters in JSON serialization [struts-site]
Posted by "asf-ci (via GitHub)" <gi...@apache.org>.
asf-ci commented on PR #348:
URL: https://github.com/apache/struts-site/pull/348#issuecomment-6096711931
Staged site is ready at https://struts.staged.apache.org/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WW-3364 docs: describe opt-in type converters in JSON serialization [struts-site]
Posted by "lukaszlenart (via GitHub)" <gi...@apache.org>.
lukaszlenart merged PR #348:
URL: https://github.com/apache/struts-site/pull/348
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org