Back to project page Android-VKontakte-SDK.
The source code is released under:
MIT License
If you think the Android project Android-VKontakte-SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.perm.kate.api; // w w w. j a v a 2 s . c om import java.io.Serializable; import org.json.JSONException; import org.json.JSONObject; public class Reply implements Serializable{ private static final long serialVersionUID = 1L; public long id; public long date; public String text; public static Reply parse(JSONObject o) throws JSONException { Reply r = new Reply(); r.id = o.getLong("id"); r.date = o.optLong("date"); r.text = o.getString("text"); return r; } }