[infinispan-issues] [JBoss JIRA] (ISPN-10452) Remove AsElementAttributeSerializer

Gustavo Fernandes (Jira) issues at jboss.org
Wed Jul 31 06:56:00 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-10452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gustavo Fernandes updated ISPN-10452:
-------------------------------------
    Description: 
The JSON rendering currently is based on inspecting Attributes in Configuration(Builder) class, and it's also possible to plug-in an AttributeSerializer that will emit the Attribute as a JSON object rather than a field inside an object.

For the sake of simplicity and less mental gymnastics, JSON objects should be generated from Configuration objects and JSON fields should be generated from the Configuration's Attributes collections. 

  was:
The JSON rendering currently is based on inspecting Attributes in Configuration(Builder) class, and it's also possible to plug-in an AttributeSerializer that will emit the Attribute as a JSON object rather than a fields inside an object.
For the sake of simplicity and less mental gymnastics, JSON objects should be generated from Configuration objects and JSON fields should be generated from the Configuration's Attributes collections. 



> 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
>
> The JSON rendering currently is based on inspecting Attributes in Configuration(Builder) class, and it's also possible to plug-in an AttributeSerializer that will emit the Attribute as a JSON object rather than a field inside an object.
> For the sake of simplicity and less mental gymnastics, JSON objects should be generated from Configuration objects and JSON fields should be generated from the Configuration's Attributes collections. 



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list