Nexus API Reference

ValinorMessageSerializer
in package
implements MessageSerializer

Read onlyYes
FinalYes
Tags
psalm-api

Serializer using JSON encoding and Valinor for type-safe deserialization.

Messages are serialized to JSON using json_encode on their public properties. Deserialization uses Valinor's mapper for strict type reconstruction.

Table of Contents

Interfaces

MessageSerializer

Methods

__construct()  : mixed
deserialize()  : object
Deserializes a string representation back into a message object.
serialize()  : string
Serializes a message object to a string representation.

Methods


        
On this page

Search results