-
Notifications
You must be signed in to change notification settings - Fork 20
Serializers
Thomas Weinert edited this page Jul 12, 2018
·
4 revisions
Classes that can be used to convert the DOM document into a specific output format. They implement the magic method __toString()
.
The general usage syntax is:
echo new \FluentDOM\Serializer\Json\JsonML($node);
These serializer classes implement JsonSerializeable. They can be used with json_encode()
.
echo json_encode(new \FluentDOM\Serializer\Json\JsonML($node), JSON_PRETTY_PRINT);
(FluentDOM >= 5.1)
- Home
- Getting Started
- Tasks
- Plugins
- Functions
- Lists
- Creator (5.1)
- CSS Selectors
- Convertors
- Loaders
- Serializers (5.1)
- Transformers (5.1)
- Extended DOM
- XMLReader (6.1)
- XMLWriter (6.1)
- Interfaces