0

我有以下从端点获取的json,

{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:response", 
        "urn:scim:schemas:extension:customattrs:2.0:User"
    ], 
    "meta": {
        "resourceType": "User", 
        "created": "2011-08-01T18:29:49.793Z", 
        "lastModified": "2011-08-01T18:29:49.793Z", 
        "version": "W/\"f250dd84f0671c3\""
    }, 
    "userName": "bjensen", 
    "phoneNumbers": [
        {
            "value": "555-555-8377", 
            "type": "work"
        }
    ], 
    "emails": [
        {
            "value": "bjensen@example.com", 
            "type": "work", 
            "primary": true
        }
    ], 
    "urn:scim:schemas:extension:customattrs:2.0:User": {
        "userName": "bjensen", 
        "address": ""
    }
}

请建议我将 json 和模式解析 "urn:scim:schemas:extension:customattrs:2.0:User"为 java 对象

4

0 回答 0