Package org.drinkless.tdlib
Class TdApi.GetJsonValue
- Enclosing class:
- TdApi
Converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously.
Returns JsonValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The JSON-serialized string. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which converts a JSON-serialized string to corresponding JsonValue object.GetJsonValue(String json) Creates a function, which converts a JSON-serialized string to corresponding JsonValue object. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
json
The JSON-serialized string. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetJsonValue
public GetJsonValue()Default constructor for a function, which converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously.Returns
JsonValue -
GetJsonValue
Creates a function, which converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously.Returns
JsonValue- Parameters:
json- The JSON-serialized string.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-