Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

JsonNode - iterator()

Log in to subscribe to topics and get notified when content changes.

JsonNode - iterator()

Returns a JsonNodeIterator object that iterates over all child nodes of the current node.

This method is available only in an Edge Encryption rule action script.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
JsonNodeIterator An object that can iterate over nodes in the JSON object.

This example is from the REST JSON encryption rule.

function RESTJSONAction(request) {
	var urlArray = request.path.split('/');
    var tableName = urlArray[urlArray.length - 1];
	if (request.urlParams && request.urlParams.sysparm_query) {
	var jsonContent = request.getAsJsonContent();
	for (var jsonElementItr = jsonContent.iterator(); jsonElementItr.hasNext(); ) {
		var jsonElement =;
		jsonElement.valueFor(tableName, jsonElement.getName());