serialize abstract method
Serializes the resource into a transportable format.
Returns:
- String: For formats 0, 1, 2 (Base64 string, Data URI, or URL)
- Map: For format 3 (structured JSON object as Map)
Implementation
Object serialize();
Serializes the resource into a transportable format.
Returns:
Object serialize();