User talk:Kireji Haiku

From Second Life Wiki
Revision as of 07:05, 4 October 2013 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

JSON_APPEND and JSON_DELETE

I can't get on right now to test this but what happens if you use JSON_APPEND with JSON_DELETE? If the world were a wonderful place it would delete the last value. <lsl>llOwnerSay(llJsonSetValue("[0,1]", [JSON_APPEND], JSON_DELETE));</lsl> --Strife (talk|contribs) 06:19, 4 October 2013 (PDT)

What do you think happens if it's NOT an array?
<lsl>llOwnerSay(llJsonSetValue("{a:1}", [JSON_APPEND], JSON_DELETE));</lsl>
-- Strife (talk|contribs) 06:23, 4 October 2013 (PDT)
They both output JSON_INVALID. I'll erm... test and see if there's a better example script :P -- Kireji Haiku 06:29, 4 October 2013 (PDT)
JSON_DELETE I think is still only in RC. Thanks for looking into this. -- Strife (talk|contribs) 06:32, 4 October 2013 (PDT)
I think I'll just make a feature suggestion for JSON_LAST so there is no ambiguity. -- Strife (talk|contribs) 06:35, 4 October 2013 (PDT)
I tested both on LeTigre Sandbox 1 which runs 3.6.7.281331. It seems that is before the one introducing JSON_DELETE. So yeah... will wait and see. I removed the example script for now. -- Kireji Haiku 06:39, 4 October 2013 (PDT)
<.< sorry for wasting your time. JSON_LAST = BUG-4075 -- Strife (talk|contribs) 06:47, 4 October 2013 (PDT)
Thanks for the useless link. I'd have taken a look, but no perms. So I'll just hope someone will react to that. Not that anybody would to then ones I report. Have a nice one ;) -- Kireji Haiku 06:54, 4 October 2013 (PDT)
^^; sorry -- Strife (talk|contribs) 07:05, 4 October 2013 (PDT)