]
Tristan Tarrant updated ISPN-10452:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 10.0.0.Beta5
Resolution: Done
Remove AsElementAttributeSerializer
-----------------------------------
Key: ISPN-10452
URL:
https://issues.jboss.org/browse/ISPN-10452
Project: Infinispan
Issue Type: Bug
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Priority: Major
Fix For: 10.0.0.Beta5
The JSON rendering currently is based on inspecting Attributes in Configuration(Builder)
classes, and it's also possible to plug-in an AttributeSerializer that will emit the
Attribute as a JSON Object rather than a field (property name/value pair) inside a JSON
object.
Sometimes it's not always clear what will be the rendered JSON when attributes can be
objects and vice-versa, so JSON objects should be generated from Configuration objects and
JSON fields should be generated from the Configuration's Attributes.