RPTools

Personal tools
From MapToolDoc

json.evaluate

 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

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

Parameters

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