How to write JSON file in multiple records?

bestianhowbestianhow Member Posts: 120
Hi Experts,
May i know that how to write the AL code to generate output below?
qpo6hxt2arsz.png
Clear(ItemJsonObj);
ItemJsonObj.Add('name', 'Item ABC');
ItemJsonObj.Add('name2', 'Test');
ItemJsonObj.Add('vendor', 'XYZ Ptd');
ItemJsonObj.Add('item_categorty', 'Test');

I don't know to code for multiple variants.

Anyone, could you help me with this?

Thanks.

BR,
bestian

Best Answer

Answers

  • bestianhowbestianhow Member Posts: 120
    Thanks @ftornero.
    It is working :smile:



Sign In or Register to comment.