I am using yahoo weather api to get weather information
This is returning an xml output.
I want to get it in JSON format. How can i get this as JSON?
I would suggest using YQL and requesting JSON output. The link you referenced is Yahoo's weather RSS feed.