Syntax

	$binary.unzip()

Description

Unpacks a ZIP file and makes the contained files available as a list of JSON objects.

Parameters

Name Type Type Description Mandatory Default
binary Binary value The ZIP file to be unpacked Yes -

Return value

Type: List of JSON objects

An entry with the following fields for each file contained in the ZIP file:

Examples

Calculate total size

	$zip.unzip().map(entry -> $entry["size"]).sum()

Output: The total size to be expected when unpacking the transferred ZIP file $zip.