PostReply¶
Methods¶
toJSON¶
-
public JSONObject
toJSON
()¶ Generate a JSON describing the object. The JSON will conform to the following format:
{ "id_parent": 0, "id_user": 0, "id_network": 0, "reply_text": "string" }
The resulting object is suitable for use with the
/post/{postId}/reply
POST or PUT endpoints.Throws: - JSONException – Unclear when this would be thrown
Returns: JSON representation of the object