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

Benjamin Mack benni at typo3.org
Thu Sep 4 18:20:32 CEST 2008


Hey Steffen,

Steffen Kamper wrote:
> Benjamin Mack schrieb:
>> 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.
>>
> hey Benni,
> 
> you see even core didn't used this rule as alt_shorcut makes a native 
> include
Well, I haven't checked that yet, but yes, bad style (well, there is bad 
style in a lot of places of the core even if there are nice t3lib 
functions for it. See my #9282 for that ;-)

If we have such interfaces / static functions, we should make use of 
them as much as possible.

-- 
All the best,
benni.
-SDG-


More information about the TYPO3-team-core mailing list