Code Coverage  | 
      ||||||||||
Lines  | 
       Functions and Methods  | 
       Classes and Traits  | 
      ||||||||
| Total | n/a  | 
       0 / 0  | 
       n/a  | 
       0 / 0  | 
       CRAP | n/a  | 
       0 / 0  | 
      |||
| 1 | <?php | 
| 2 | /** | 
| 3 | * Jingga | 
| 4 | * | 
| 5 | * PHP Version 8.1 | 
| 6 | * | 
| 7 | * @package phpOMS\Utils\IO\Json | 
| 8 | * @copyright Dennis Eichhorn | 
| 9 | * @license OMS License 2.0 | 
| 10 | * @version 1.0.0 | 
| 11 | * @link https://jingga.app | 
| 12 | */ | 
| 13 | declare(strict_types=1); | 
| 14 | |
| 15 | namespace phpOMS\Utils\IO\Json; | 
| 16 | |
| 17 | /** | 
| 18 | * Cvs interface. | 
| 19 | * | 
| 20 | * @package phpOMS\Utils\IO\Json | 
| 21 | * @license OMS License 2.0 | 
| 22 | * @link https://jingga.app | 
| 23 | * @since 1.0.0 | 
| 24 | */ | 
| 25 | interface JsonInterface | 
| 26 | { | 
| 27 | /** | 
| 28 | * Export Json. | 
| 29 | * | 
| 30 | * @param string $path Path to export | 
| 31 | * | 
| 32 | * @return void | 
| 33 | * | 
| 34 | * @since 1.0.0 | 
| 35 | */ | 
| 36 | public function exportJson(string $path) : void; | 
| 37 | |
| 38 | /** | 
| 39 | * Import Json. | 
| 40 | * | 
| 41 | * @param string $path Path to import | 
| 42 | * | 
| 43 | * @return void | 
| 44 | * | 
| 45 | * @since 1.0.0 | 
| 46 | */ | 
| 47 | public function importJson(string $path) : void; | 
| 48 | } |