Array of JSON objects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2019 11:17 PM
Hi,
How to initialize, add, remove objects to JSON array.
Scenario is below,
I've a scheduled job which will call a script include function which would return list of sys-id and field value of the record.
Thanks.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2019 11:20 PM
Hi
Check this tutorial on JSON on w3schools.
https://www.w3schools.com/js/js_json_arrays.asp
Regards,
Omkar Mone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2019 11:28 PM
Hello Balaji,
Chcek out this article for all your need. All Operation related to JSON and array are explained
JSON PARSING: USE CASE AND SOLUTIONS
Please mark as Correct Answer and Helpful, if applicable.
Thanks!
Abhishek Gardade
Hexaware Technologies
Abhishek Gardade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2019 12:14 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2019 12:16 AM
Hi
Take this example -
Regards,
Omkar Mone