Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key contains @ #45

Open
nanyuchen opened this issue Dec 22, 2021 · 2 comments
Open

Key contains @ #45

nanyuchen opened this issue Dec 22, 2021 · 2 comments

Comments

@nanyuchen
Copy link

What if the key has an @ sign in it

@visch
Copy link

visch commented Sep 7, 2022

Hit this today

Example input data

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users(id,userPrincipalName,surname,employeeId,preferredLanguage,officeLocation,mobilePhone,mail,jobTitle,givenName,displayName,mailNickname,accountEnabled,department,ageGroup,assignedLicenses,assignedPlans,businessPhones,city,companyName,consentProvidedForMinor,country,creationType,deletedDateTime,employeeHireDate,employeeOrgData,employeeType,faxNumber,identities,imAddresses,lastPasswordChangeDateTime,licenseAssignmentStates,onPremisesExtensionAttributes,otherMails,passwordPolicies,passwordProfile,postalCode,proxyAddresses,streetAddress,userType,manager"
 }

Valid JSON Path would be something like $.['@odata.context'] but this doesn't work on the website

@eshattow
Copy link

This is broken on valid JSON paths containing '@' for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants