data-response
data-response copied to clipboard
PSR-13 and JsonSerializable in xml
Good day. I have two questions:
- What about the PSR-13?
- Wouldn't it be more correct in case
XmlDataResponseFormattergets aJsonSerializableobject but not anXmlDataInterfaceto take the result from thejsonSerialize()method?
Yes. Likely.