Android Open Source - Joetz-Android-V2 J S O N Parsing Task

From Project

Back to project page Joetz-Android-V2.


The source code is released under:

GNU General Public License

If you think the Android project Joetz-Android-V2 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.jens.myapplication.apimanager;
//from  w w w . j  a v  a2s  .co m

 * Task holding a method to parse a JSON string to an object
public interface JSONParsingTask<T>{
     * Used to do something after a response from the server was received. <br/>
     * Recommended to convert the JSON String into an object with Jackson. (ObjectMapper)
     * @param json The JSON string that was received from the server.
    public T handleJSON(String json) throws IOException;

Java Source Code List