@karanshah Thanku so much...it worked.
I got the desired json output, and I am getting the json like
"employee":{
"name": "%{name}",
"fathername":"%{fathername}",
}
But here problem is that why field and value are same.Why I am not getting the value of table?
Plz help