How to use JSON in Delphi [Beginner]

Поділитися
Вставка
  • Опубліковано 13 жов 2024

КОМЕНТАРІ • 11

  • @hindermath
    @hindermath 2 роки тому +1

    Another great HIWWH-Video. Thank you so much for the explanation of this topic widely used in many scenarios today and in the future.

  • @daved3575
    @daved3575 2 роки тому +1

    Great and simple video - very helpfull people like me to learn the basic of JSON ..

  • @MichaelTroulis
    @MichaelTroulis 2 роки тому +1

    Very helpful video. Thank you.

  • @chrishinch8810
    @chrishinch8810 2 роки тому +1

    Great work, thank you so much!

  • @klbass68
    @klbass68 2 роки тому

    Would you mind creating a video on how to do SOAP requests and consuming the response with the native Delphi components? Also, without using WSDL? I love your tutorial videos.

  • @MrJimmaguire
    @MrJimmaguire Рік тому

    Really great 😊 which version of Delphi is required?

    • @tmssoftwareTV
      @tmssoftwareTV  Рік тому +1

      We recommend XE2 minimum for robust JSON support in Delphi and TMS FNC JSON classes are supported from XE7

  • @ashayeri68
    @ashayeri68 2 роки тому

    Very helpful video. what is your ide font?

  • @christophschneider9934
    @christophschneider9934 Рік тому

    It seems to be important, that the class TCustomer is declared in the interface part of the unit and not later in the implementation part. Otherwise I get an Exception "Internal: Cannot instantiate type TCusomer" within TJson.JsonToObject(LJson). Is there a possibilty to register the class for the RTTI manually or by using a compiler directive? ({$TYPEINFO ON} does not solve this)

  • @kaffeburk100
    @kaffeburk100 Рік тому

    Cant compile the demo.
    [dcc32 Error] uMain.pas(112): E2018 Record, object or class type required
    Its the NowUTC i the last line.
    Result.LastOrder := TDateTime.NowUTC.IncHour(RANDOM(9999) * -1);

    • @tmssoftwareTV
      @tmssoftwareTV  Рік тому

      What Delphi version do you use? You might need a newer Delphi version.