From 2de7512a07add74f5365b7b7f7de68c3643e8814 Mon Sep 17 00:00:00 2001 From: trimbakeshmadhan-109 Date: Tue, 28 Oct 2025 01:44:14 +0530 Subject: [PATCH] script.js --- .../GlideJsonPath/GlideJSONPath reader example/script.js | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Core ServiceNow APIs/GlideJsonPath/GlideJSONPath reader example/script.js diff --git a/Core ServiceNow APIs/GlideJsonPath/GlideJSONPath reader example/script.js b/Core ServiceNow APIs/GlideJsonPath/GlideJSONPath reader example/script.js new file mode 100644 index 0000000000..ddfd540a46 --- /dev/null +++ b/Core ServiceNow APIs/GlideJsonPath/GlideJSONPath reader example/script.js @@ -0,0 +1,2 @@ +var v = new GlideJsonPath('{"lib":{"jsonpath":{"cricket":{"name":"India","players":["Rohit","Dhoni","Kholi"]}}}}'); +var l = v.read("$['lib']['jsonpath']['cricket']['players'][*]");