[TYPO3-core] RFX: #9286: use native JSON-methods instead of 3rd party json script

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Sep 4 16:36:34 CEST 2008


Hi!

Benjamin Mack wrote:
> actually, that was me that introduced the "policy". That was more a 
> @deprecated part of the file / function stating that it will be removed 
> two major versions later. Well, as we mark the JSON script as deprecated 
> in 4.3, we can remove it in 4.5, if that's ok with you guys. However, we 
> should add this in the patch of the RFC.
> A public statement in the dev-news would be good as well, once we commit 
> that thing.

Absolutely fine with me! And the policy is good! :)

> btw: that's the nice thing about the t3lib_div wrapper: Everybody should 
> use this function anyway, so we people don't need to change their 
> scripts. I remember using JSON through the t3lib_div class but not by 
> instantiating the class by myself, so we "should" be good to go.

We should but you never know... For example, people should use USER_INT but they still do USER and use set_no_cache() after all warnings to them. So we better be safe and keep this code for a while :)

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/


More information about the TYPO3-team-core mailing list