apijson-column 1.0.0-1.2.2 update content
-
Support field name mapping and !key inverse field selection;
-
Improve documentation;
-
Upgrade itself, APIJSON version is 1.2.2, 5.1.0;
See the Release version for details .
apijson-column
Tencent APIJSON 4.6.6+ field plug-in, supports !key inverse field selection and field name mapping, and can be relied on remotely through Maven, Gradle, etc.
1. Invert field
"@column": "!columnKey" // Returns all other fields excluding columnKey
{ "User": { // id,sex,name,tag,head,contactIdList,pictureList,date "id": 82001, "@column": "!contactIdList" // -> id,sex,name,tag,head,pictureList,date } }
2. Field name mapping
"@column": "showKey" // Hides the corresponding real field name of the database
{ "User": { // id,sex,name,tag,head,contactIdList,pictureList,date "id": 82001, "@column": "gender" // -> sex } }
https://gitee.com/APIJSON/apijson-column
The creation is not easy, click ⭐Star in the upper right corner to support it ^_^