Hi Akshay,
for JSON path filter, you need to use JSON path format like,
$.store.book[i].author which will return the value of author.
for Xpath filter, you need to use Xpath format like,
/store/book[1]/title.text() which will return the value of title.
Revert if more details required.