-
Notifications
You must be signed in to change notification settings - Fork 2.5k
added zendframework/zendxml into suggest at Zend\Json's composer.json #6778
added zendframework/zendxml into suggest at Zend\Json's composer.json #6778
Conversation
Should probably be optional. Additionally, I'd suggest just deprecating this API, as it's just a problem to couple the Json component to |
@Ocramius done ;). I've moved the zendxml to suggest and mark Json::fromXml() as @deprecated . |
👍. I would prefer to see a separate "XmlToJson" component that composes both My only suggestion here is to note why the method is deprecated - either a short blurb or a link to this ticket - so that when it comes time to update this component for ZF3 we'll know why it was done. |
@adamlundrigan I have added this PR id after @deprecated docblock |
@samsonasik merged, thx! |
…ion-in-zend-json' into develop Close zendframework/zendframework#6778 Forward port zendframework/zendframework#6778
Why is Zend\Xml2Json\Xml2Json::fromXml marked as deprecated in zf3 ? |
It's not; the method for doing so in |
@rakesh-beedasy I've created PR for @deprecated doc removal for that: zendframework/zend-xml2json#1 |
Thanks 👍 |
remove @deprecated doc came from zendframework/zendframework/pull/6778
used by
Zend\Json\Json::fromXml()