CoolCMS API

JsonImportParser.php

Table of Contents

Classes

JsonImportParser
JSON parser producing an {@see ImportDto} with the same output shape as {@see XmlImportParser}: an element maps to a property, repeatable elements to arrays, texts with `lang` to an object keyed by the language alias, a collection is either a plain array (default mode) or `{"mode": "...", "items": [...]}`. Tri-state: a missing key means untouched, `null` (or `""` for texts) means clear.
On this page

Search results