Difference between revisions of "User talk:Kireji Haiku"

From Second Life Wiki
Jump to: navigation, search
m (JSON_APPEND and JSON_DELETE: lol)
m (JSON_APPEND and JSON_DELETE)
Line 16: Line 16:
 
:<lsl>llOwnerSay(llJsonSetValue("{a:1}", [JSON_APPEND], JSON_DELETE));</lsl>
 
:<lsl>llOwnerSay(llJsonSetValue("{a:1}", [JSON_APPEND], JSON_DELETE));</lsl>
 
:-- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 06:23, 4 October 2013 (PDT)
 
:-- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 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 -- [[User:Kireji Haiku|Kireji Haiku]] 06:29, 4 October 2013 (PDT)

Revision as of 05:29, 4 October 2013

Thanks for the Diff

It's terribly hard to keep up with every item, especially when the wiki isn't complete. Been trying to fill in some holes lately. some of the invalid stuff is Opensim Related. Not needed for SL true, but no harm being there either. :) Darien Caldwell 18:14, 10 July 2013 (PDT)


Stay out of my User Space. Please

You can add as many comments, criticisms and suggested changes to any talk page within my name space: User:LepreKhaun_Resident but, as a personal courtesy, please refrain from editing the pages themselves. Thank you. -- LepreKhaun Resident 16:41, 23 September 2013 (PDT)

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)