Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

How to declare JSON Object in NAV17

Posted on by 20

Hello,

I'm about to downgrade Business Central AL Solution to C/AL Nav17 and i'm facing problems when declaring these variables.

Jobject: JsonObject

Jtoken: JsonToken

and i can't use these selected methods as it consider them unvalid (unknown methods) :
pastedimage1666259218912v3.png
pastedimage1666259387967v4.png
pastedimage1666259483717v5.png
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 70,099 Super User 2024 Season 2 on at
    RE: How to declare JSON Object in NAV17

    Hi, hope the following helps.

    https://andreilungu.com/create-simple-json-file-in-nav/

       

    https://forum.mibuso.com/discussion/73260/json-management-nested-jobjects

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: How to declare JSON Object in NAV17

    NAV 2017 does not have any native Json support. So you will either have to use a .net class / dll or format is as a text with out any json tool.

    You can probably use this one and declear it as a .net variable

    www.newtonsoft.com/json

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans