JSON in AL for beginners - Essential development knowledge for Business Central

Ғылым және технология

Find more information at my blog www.hougaard.com or follow me on / ehougaard
Source code can be found here: github.com/hougaard/KZread-V...

Пікірлер: 28

  • @ibrahiemrasoelbaks5124
    @ibrahiemrasoelbaks51243 жыл бұрын

    Great video once again Erik. One of my favorites!!

  • @vallsjose
    @vallsjose3 жыл бұрын

    Awesome explanations Erik, thanks a lot!

  • @mmizgiris
    @mmizgiris2 жыл бұрын

    Great video Eric. Thanks a lot!

  • @eduschimu
    @eduschimu2 жыл бұрын

    Thank you for this video. Very helpful to get into the subject. I will look at other json videos you did, before I ask some questions...🙂

  • @svendheinesen2606
    @svendheinesen26063 жыл бұрын

    An absolute gem for us old Navigator coders that can barely spell to JSON ;)

  • @JosepPages7
    @JosepPages7 Жыл бұрын

    Thank you Master, great explanations and interesting as always!!

  • @dineshmarne44
    @dineshmarne443 жыл бұрын

    Great video on Jason

  • @davidbaldwin3140
    @davidbaldwin31402 жыл бұрын

    Very educational and very helpful demonstration. Should you ever decided to revisit this topic, it would be helpful to cover some examples that treated BC record handling--e.g., working with master and detail BC records in and out of json structures; how json works with RecordRef situations. Also: in what types of scenarios are the Type of a Token actually unknown? Thanks again.

  • @RubenParente
    @RubenParente2 жыл бұрын

    Hi Erik, would you be kind to demonstrate how can we have a JsonObject and store it in a blob field. thank you

  • @bjarkihall2876
    @bjarkihall28763 жыл бұрын

    Do you know when to use Dictionary/List instead of a JsonObject/JsonArray, is there a significant performance difference between these models (a reason not to just always use Json types)? You also did a video on TextBuilder vs Text for big concats of strings which made a huge difference. Is there a similar example for Json structures? The Base app has some old codeunits that manage read/write of Json structures with some kind of a TextBuilder, would that make sense or is JsonObject.Add (n-times) + WriteTo(txt) better than JsonBuilder.Add (n-times) + ToText? Have you done any benchmarks on those? :)

  • @Hougaard

    @Hougaard

    3 жыл бұрын

    The datatype in Dictionary/List are only the primitive type, so that reduces the usefulness of them. For complex structures json is the way to go.

  • @bjarkihall2876

    @bjarkihall2876

    3 жыл бұрын

    ​@@Hougaard yes, that's why I'm wondering about where they shine, since compared to the Json types they are very limited. Do you know what the tradeoff is? Thanks for the regular content btw. it's always fun to watch :)

  • @Hougaard

    @Hougaard

    3 жыл бұрын

    @@bjarkihall2876 I have begun using dictionaries as "alternative" keys, like for a "HasSeen" structure. In BCCL I keep all data internally as JSON but use Dictionaries for list od fields etc...

  • @bjarkihall2876

    @bjarkihall2876

    3 жыл бұрын

    @@Hougaard I've been using them the same way but I had been wondering if it really had any benefits. I guess it's the type validation and ease of use (e.g. you can declare them as Dictionary of [Guid, Boolean], so nothing else gets in) and potentially it has some performance benefits too, as long as we don't need to convert the structure to/from text/json/stream (though, it's possible to do it with a loop).

  • @greycatstechllp3545
    @greycatstechllp35452 жыл бұрын

    Hi Erik, I need assistance if you could help me out or guide. I have added a repeater in the sales order form. Now, whatever inputs i give in particular cells, the same values get reflected even in the next sales order that is going to be filled in. :(

  • @Hougaard

    @Hougaard

    2 жыл бұрын

    I need a bit more information to be able to help you, what is the sourcetable of the page that has the repeater element?

  • @greycatstechllp3545

    @greycatstechllp3545

    2 жыл бұрын

    The source table is sales order

  • @greycatstechllp3545

    @greycatstechllp3545

    2 жыл бұрын

    @@Hougaard Thankyou Erik, i would like to know if there is a way to initialize a whole repeater?

  • @LandscapeInMotion
    @LandscapeInMotion3 жыл бұрын

    Thanks - how to add new form fields to existing forms with AL?

  • @Hougaard

    @Hougaard

    3 жыл бұрын

    Good suggestion, keep watching the channel.

  • @LandscapeInMotion

    @LandscapeInMotion

    3 жыл бұрын

    @@Hougaard also, what’s the easiest way to export business central online data to a SQL data warehouse with live data feeds?

  • @Hougaard

    @Hougaard

    3 жыл бұрын

    @@LandscapeInMotion All data export has to be done with OData web services right now. I have an alternative solution in the works, but not ready to be revealed :)

  • @LandscapeInMotion

    @LandscapeInMotion

    3 жыл бұрын

    @@Hougaard great! Odata will only export the entities, but not the raw sql tables right?

  • @Hougaard

    @Hougaard

    3 жыл бұрын

    @@LandscapeInMotion Well, if you get all records and all fields (if you create API pages to do that), then it equal to raw SQL.

  • @anujchaudhary6985
    @anujchaudhary69853 жыл бұрын

    Please make a video on How to Integrated Currency exchange rate service with XE.com

Келесі