Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5479

rest api mashall object to json default not ignore null fileds

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 10.0.0.Beta1, 10.0.0.Beta2, 10.0.0.CR1, 10.0.0.CR2
    • Fix Version/s: None
    • Component/s: REST
    • Labels:

      Description

      mashall object to Json default not ignore null fileds,but mashall to xml is ok .
      "user":

      { "id": 26357, "gameId": null, "userIds": null, "userName": "testn008", "status": 1, "password": null, "payPassword": null, "qq": null, "email": null, "userType": 16, "level": 0, "subCompany": null, "majorShareholder": null, "sharehoder": null, "majorAgent": null, "agent": null, "nickName": "sdfs", "cellPhoneNumber": null, "createTime": "2015-05-08 20:32:37", "currency": "CNY", "registerIp": "127.0.0.1", "lastLoginIP": "127.0.0.1", "lastLoginTime": 1444146936000, "roles": [], "roleIds": [], "userCount": 0, "fromId": null, "fromUrl": null, "hasUpdatePwd": 1, "isSpread": 0, "spreadType": null, "parentUserName": null, "memberCnt": null, "serverTime": "2015-10-06 23:58:40" }

      ,

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ffh2818 henry hu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: