Package it.tdlight.jni
Class TdApi.GetJsonValue
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetJsonValue
- Enclosing class:
- TdApi
public static class TdApi.GetJsonValue extends TdApi.Function
Converts a JSON-serialized string to
corresponding JsonValue object. Can
be called synchronously.
Returns JsonValue
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
json
The JSON-serialized string. -
Constructor Summary
Constructors Constructor Description GetJsonValue()
Converts a JSON-serialized string to corresponding JsonValue object.GetJsonValue(DataInput input)
GetJsonValue(String json)
Converts a JSON-serialized string to corresponding JsonValue object. -
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
-
json
The JSON-serialized string. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetJsonValue
public GetJsonValue()Converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously.Returns
JsonValue
-
GetJsonValue
Converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously.Returns
JsonValue
- Parameters:
json
- String The JSON-serialized string.
-
GetJsonValue
- 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()
-