Unable to extract key value pair from json using Deserialize json

Hi all,

i want to extract two things from my textfile which is in json format using Deserialize json.
something like this:
“number of users” : “7”

Error message : Deserialize JSON: After parsing a value an unexpected character was encountered: ". Path ‘numberofusers’, line 3, position 2.

then when i am using Deserialize json to extract it then i m getting this error.

but if i keep the “numberofusers” in first position then it works fine and i m able to extract values of keys

when like this

“number of users” : “7”

attahing the xaml file

please let me know if i m doing something wrong2. Load User.xaml (5.0 KB)

Hi @Abhinavpandey

Deserialize JSON in properties check type argument (Newtonsoft.Json.LinqJObject).


Kommi Jeevan.

hi @kommijeevan

its already having tyep argument as Newtonsoft.Json.LinqJObject

Hi ,

thanks .

its working fine now.
actually the format of json was incorrect

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