Using HttpClient in android studio

How to access the data from the HttpClient in Json format When button is clicked