Module tdlight.api

Class TdApi.GetJsonValue

Enclosing class:
TdApi

public static final class TdApi.GetJsonValue extends TdApi.Function<TdApi.JsonValue>
Converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously. Returns JsonValue
  • Field Details

    • json

      public String json
      The JSON-serialized string.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetJsonValue

      public GetJsonValue()
      Converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously. Returns JsonValue
    • GetJsonValue

      public GetJsonValue(String json)
      Converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously. Returns JsonValue
      Parameters:
      json - String The JSON-serialized string.
    • GetJsonValue

      public GetJsonValue(DataInput input) throws IOException
      Converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously. Returns JsonValue
      Throws:
      IOException
  • Method Details