getRulesJson method

  1. @JS('getRulesJSON')
JSPromise<JSObject> getRulesJson()

Gets the currently applied security rules as a parsed JSON object. Any comments in the original source are stripped away.

@returns A promise fulfilled with the parsed rules object.

Implementation

@JS('getRulesJSON')
external JSPromise<JSObject> getRulesJson();