APAR status
Closed as new function.
Error description
Java Beans that are converted to JSON using the wcf:json tag are introspected for Java Bean properties which are then converted into JSON properties. Since all objects extend java.lang.Object, this list of properties will include the "class" property, which is not desirable.
Local fix
Problem summary
USERS AFFECTED: JSP and JavaScript developers who use the wcf:json tag to convert Java Beans to JSON will be affected. PROBLEM ABSTRACT: Suppress class from wcf:json tag BUSINESS IMPACT: JSON objects that are returned to shopper pages may include the class name of Java Beans. RECOMMENDATION:
Problem conclusion
The class property of java.lang.Object is no longer included in JSON created using the wcf:json tag.
Temporary fix
Comments
APAR Information
APAR number
JR53399
Reported component name
WC BUS EDITION
Reported component ID
5724I3800
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-05-19
Closed date
2015-06-23
Last modified date
2015-06-23
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WC BUS EDITION
Fixed component ID
5724I3800
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
12 December 2021