Thread: nsJSON plug-in
View Single Post
Old 16th April 2016, 20:16   #52
Junior Member
Join Date: Oct 2012
Posts: 36
Yep, Unicode works fine now, thanks Stu.

I have another feature request:
It would be great if /index accepted negative numbers to get/set/delete from the end of an array/node.
For example, /index -1 means the last element, /index -2 means the second-last element and so on.

Right now, this is achieved by getting the count of elements, decrementing, then getting/setting/deleting the required element. A negative index would streamline this process.
Marshallx7 is offline   Reply With Quote