MyStandard
Support
Forum
FAQ
Issue Tracking
Technical White Papers
Customers
Customer Status
Sales Effort
Leads
Reference List
Education
Partner Education Program
Standard ERP Training Materials
Standard Accounts Training Materials
Web Tests
Recorded Webinars
Rest API Documentation
Release Notes
Sales & Marketing
Sales Tools
Brochures
Video Demonstrations
Company Presentation
Brand Book
Logos
Marketing Templates
Banners
Integrations
Logout
HAL questions
JSONGetChildNAME primitive function
icodelab
2-9-19
Hi,
I am working with json files with HAL, I have seen some primitives for JSON use, I need to know how to use this primitive JSONGetChildNAME
Best regards
JL
Panama
Reply
Giuseppe L.
2-12-19
Hi JL,
thank you for reaching out to us with your enquiry.
I passed your documentation request to our Operations Department.
Please stay tuned, We'll come back to you as soon as we will be ready.
Best Regards,
Giuseppe
HansaWorld Italy
Reply
Paul Timms
2-13-19
It's very similar to XmlGetChildName, there's one example of this in source code (xmlTools.hal).
Reply
Vadym
3-4-19
begin
area a_reply;
json jobj;
webgetpostdata(a_reply);
jobj = parsejsonarea(a_reply);
logtext(0,JSONCountChildren(jobj,"roles"));
logtext(0,JSONGetChildNAME(jobj,"roles[0]",0));
return;
end;
Reply
David Delač
12-19-19
Hi icodelab,
Example:
json js;
string 255 root,name;
Integer i;
name = JSONGetChildName(js,root,i);
• js = json area
• root = string path of your Json key
• i = child key ordinal number
Best Regards,
David D.
HansaWorld Support
Reply
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
New Message
Open Questions
My Questions
Latest Posts
Re: CallHal(IsHansaWorldCustomer) in LOG
David Delač
Hi Piotr, The log entry: 2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Re: The field Notes on Notes Tab in Contact register
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024