Package it.tdlight.jni
Class TdApi.GetJsonString
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetJsonString
- Enclosing class:
- TdApi
public static class TdApi.GetJsonString extends TdApi.Function
Converts a JsonValue object to
corresponding JSON-serialized string.
Can be called synchronously.
Returns Text
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.JsonValue
jsonValue
The JsonValue object. -
Constructor Summary
Constructors Constructor Description GetJsonString()
Converts a JsonValue object to corresponding JSON-serialized string.GetJsonString(TdApi.JsonValue jsonValue)
Converts a JsonValue object to corresponding JSON-serialized string.GetJsonString(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
jsonValue
The JsonValue object. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetJsonString
public GetJsonString()Converts a JsonValue object to corresponding JSON-serialized string. Can be called synchronously.Returns
Text
-
GetJsonString
Converts a JsonValue object to corresponding JSON-serialized string. Can be called synchronously.Returns
Text
- Parameters:
jsonValue
- JsonValue The JsonValue object.
-
GetJsonString
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-