Problem with Json deserialization

Hi all, so I have a weird problem with Json deserialization this is output from API:

This are settings for deserialization activity:
image

And this is output:

I have no idea why I’m not getting structure like:
Key : value

Do you know how to fix it? or how to get value from this output as string?

here is raw output as text:

"{"@odata.context":"https://cloud.uipath.com/mikolvzsadnu/MikolajDefault/orchestrator_/odata/$metadata#Users/$entity\",\“Name\”:\“Mikolaj\”,\“Surname\”:\“Zielinski\”,\“UserName\”:\“mikzielinski@gmail.com\”,\“Domain\”:null,\“FullName\”:\"Mikolaj Zielinski","EmailAddress":"mikzielinski@gmail.com","IsEmailConfirmed":true,"LastLoginTime":"2020-11-26T13:39:54.493Z","IsActive":true,"CreationTime":"2019-09-15T19:12:06.343Z","AuthenticationSource":null,"Password":null,"IsExternalLicensed":false,"RolesList":["Administrator"],"LoginProviders":["https://account.uipath.com","https://account.uipath.com","https://account.uipath.com","https://account.uipath.com/\“,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“https://cloud.uipath.com/identity_\”,\“SystemOpenIdConnect\”],\“TenantId\”:217903,\“TenancyName\”:\“MikolajDefa1j88160766\”,\“TenantDisplayName\”:\“MikolajDefault\”,\“TenantKey\”:\“a3401d21-57e2-47a8-87f6-548a56339958\”,\“Type\”:\“DirectoryUser\”,\“ProvisionType\”:\“Manual\”,\“LicenseType\”:null,\“Key\”:\“1487c403-2648-4f59-87e1-e483edbd8cd4\”,\“MayHaveUserSession\”:true,\“MayHaveRobotSession\”:false,\“MayHaveUnattendedSession\”:false,\“BypassBasicAuthRestriction\”:false,\“MayHavePersonalWorkspace\”:false,\“RestrictToPersonalWorkspace\”:false,\“Id\”:458929,\“RobotProvision\”:null,\“UnattendedRobot\”:null,\“NotificationSubscription\”:{\“Queues\”:false,\“Robots\”:true,\“Jobs\”:true,\“Schedules\”:true,\“Tasks\”:true,\“QueueItems\”:true,\“Insights\”:false,\“CloudRobots\”:false}}”

Kindly share your workflow.

WhoAmI.xaml (10.1 KB)

Solved, had to deserialized to the dictionary of string and object :smiley:

1 Like

Great @Mikolaj_Zielinski
I am about to look into your workflow.

Happy Automation :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.