Deserialize JSON: Unexpected end when reading token. Path ‘’. this error i am getting,
this is my json:
{
“sorting”: null,
“filterArray”: [
{
“key”: “contactName”,
“dataType”: “text”,
“filter”: [
{
“operator”: null,
“filterType”: “contains”,
“filterValue”: [“sa”]
}
]
}
]
}
adi.mehare
(Aditya Mehare)
March 11, 2025, 9:56am
2
i think in your json quotes(“) are different try below json, expected quotes(")
{
"sorting": null,
"filterArray": [
{
"key": "contactName",
"dataType": "text",
"filter": [
{
"operator": null,
"filterType": "contains",
"filterValue": [
"sa"
]
}
]
}
]
}
1 Like
@Sameekshya_Panigrahi
Where you are getting from this json, manually you are storing this json or is it output of the HTTP activity?
if you are giving it manually make it proper json format,
{
“sorting”: null,
“filterArray”: [
{
“key”: “contactName”,
“dataType”: “text”,
“filter”: [
{
“operator”: null,
“filterType”: “contains”,
“filterValue”: [“sa”]
}
]
}
]
}
Anil_G
(Anil Gorthi)
March 11, 2025, 10:34am
4
@Sameekshya_Panigrahi
the json looks valid
can you show how you are passing the data?
cheers
taking this json from postman
you are automating postman application or just manually you are copying the data and using that data to deserialize?
If you are taking manually use any chatgpt or any json modifier to correct the format that data you can use
okay thankyouu, will try this
Try replacing the copied double quotes manually
Like - remove the double quote which is copied from post man and type again manually
then try to deserialize
If you got solution please mark my post as solution and close this topic