Class 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 Detail

      • json

        public String json
        The JSON-serialized string.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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

        public GetJsonValue​(String json)
        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.