json.evaluate: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Initial write-up.)
(No difference)

Revision as of 06:43, 10 March 2009

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

json.evaluate() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.3b51
Traverses a JSON array or JSON object and evaluates any macro code or rolls contained within. All macro code and rolls are evaluated against the current token.

Usage

json.evaluate(array)
json.evaluate(object)

Parameters

  • array - The JSON array which has its contents evaluated.
  • object - The JSON object which has its contents evaluated.