json.shuffle: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page json.shuffle to Json.shuffle without leaving a redirect: Converting page title to first-letter uppercase)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:


|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
json.shuffle(array)
json.shuffle(array)
</source>
</syntaxhighlight>
'''Parameters'''
'''Parameters'''
* {{code|array}} - The array to shuffle.
* {{code|array}} - The array to shuffle.

Latest revision as of 17:37, 15 March 2023

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

json.shuffle() Function

Introduced in version 1.3b51
Randomly shuffles the values in a JSON array.

Usage

json.shuffle(array)

Parameters

  • array - The array to shuffle.