MNB PHPExcelDeveloper Guide
JSON library

JSON classes and methods.

Browse this library and the shared dependency classes returned by its public API. Package ownership remains visible beside each class.

Packagemnb/mnb-phpexcel-jsonReference57 classes · 297 methods

Updated

Class API

Mnb\PHPExcel\Format\Json

# Provides the json class API for format operations.# Declaration: final class Json# Package: mnb/mnb-phpexcel-json# Methods: 2Mnb\PHPExcel\Format\Json{
# Purpose: Creates a read session for the supplied source.public static function read(string $path, # Path to the source or destination file. Example: __DIR__ . '/workbook.xlsx'array|ReaderOptions $options = [] # Configuration options for this operation. Example: []): ReadSession
# Purpose: Writes the supplied data to the destination.public static function write(iterable $rows, # Rows supplied for reading, writing, validation, or import. Example: []string $path, # Path to the source or destination file. Example: __DIR__ . '/workbook.xlsx'array $options = [] # Configuration options for this operation. Example: []): void
}