JSON Pointer syntax reference
JavaScript Object Notation (JSON) Pointer defines a syntax for identifying a specific value within a JSON payload. Using the sample payload and JSON Pointer examples below, identify the attributes that you want to use to populate your attribute contract.
For a complete technical description of JSON Pointer syntax, see JavaScript Object Notation (JSON) Pointer on ietf.org.
For more information on LinkedIn JSON payload structure, see Object Types in the LinkedIn API documentation.
Example JSON payload - r_liteprofile
{
"lastName": {
"localized": {
"en_US": "Smith"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"firstName": {
"localized": {
"en_US": "Janet"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"profilePicture": {
"displayImage": "urn:li:digitalmediaAsset:C4E03GAGHGR09Bdl__Q"
},
"id": "lUNPTvH2At"
}
JSON Pointer syntax:
Description | JSON Pointer | Example value |
---|---|---|
First name |
/firstName/localized/en_US |
Janet |
Last name |
/lastName/localized/en_US |
Smith |
Profile picture |
/profilePicture/displayImage |
urn:li:digitalmediaAsset:C4E03GAGHGR09Bdl__Q |
User ID |
/id |
lUNPTvH2At |