Skip to main content
Solved

JSONExtractor: The JSON query is missing a JSON entity property (ie. type,size) at column 25

  • January 22, 2018
  • 1 reply
  • 57 views

Forum|alt.badge.img

I am getting the following error from a JSON Extactor:

The JSON query 'json["ResourceList"][0].LastModified' is missing a JSON entity property (ie. type,size) at column 25

How do I troubleshoot my error?

Query:

json["ResourceList"][0].LastModified

Data snippet:

{"TotalResults":1,"TotalPages":1,"Page":1,"ResourceList":[{"Id":"06255cb3-99ca-4d72-af3d-0786d381145a","LastModified":"2018-01-22T14:01:55"}],"test":[]}

Best answer by takashi

Hi @peterx, dot (.) separated expression is a JSON property expression, it won't extract the value of a member in a JSON object. If you intend to extract value of the "LastModified" member in the first element of the "ResourceList" array, you can use this JSON structure expression.

json["ResourceList"][0]["LastModified"]
See here to learn more about JSON Queries: JSON Queries | Help on the JSONFragmenter
View original
Did this help you find an answer to your question?

1 reply

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • January 22, 2018

Hi @peterx, dot (.) separated expression is a JSON property expression, it won't extract the value of a member in a JSON object. If you intend to extract value of the "LastModified" member in the first element of the "ResourceList" array, you can use this JSON structure expression.

json["ResourceList"][0]["LastModified"]
See here to learn more about JSON Queries: JSON Queries | Help on the JSONFragmenter

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings