How we can avoid the @nil=true in WSO2DSS we are using POSTGRESSQL database. my tables has NULL data while i am retrieving from data base using wso2dss and wso2esb i am getting it as object Json which define like this {"@nil":"true"} how we can get NULL in wso2dss.i need to set any properties in wso2dss for clarification please refer this http://stackoverflow.com/questions/17020186/how-we-can-override-a-wso2-dss-nil-true-value` i stuck in middle my application not running because of this object i need to replace it with "NULL"
我变得像这样
{ “身体”:{ “Datalist中”:{ “用户名”:{ “@无”: “真”}, “密码”:{ “@无”: “真”}}}}
But i need in this format
{"Body":{"Datalist":{"username":"NULL","password":"NULL"}}}
Thanks in advance
答案 0 :(得分:0)
这不是错误,而是XML中“NULL”的标准表示。有关更多详细信息,请参阅[1]
上的stackoverflow查询中的答案[1] https://stackoverflow.com/a/17194678/959669
干杯, Prabath