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.
You can find a complete technical description of JSON Pointer syntax in JavaScript Object Notation (JSON) Pointer on ietf.org.
Learn more about LinkedIn JSON payload structure in 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 |