PagesExportImport::importJSON() method       
Import a PageArray from a JSON string
Given JSON string must be one previously exported by the exportJSON() method in this class.
Usage
// basic usage
$items = $porter->importJSON(string $json);
// usage with all arguments
$items = $porter->importJSON(string $json, array $options = []);Arguments
| Name | Type(s) | Description | 
|---|---|---|
| $json | string | JSON string of exported data to import | 
| $options(optional) | array | 
 | 
Return value
PageArray bool
$porter methods and properties
API reference based on ProcessWire core version 3.0.252