nl_tokens: dataType : json others
pl_tokens: function decodeResult ( contentType , dataType , result ) { if ( dataType == 'json' ) { try { <mask> = JSON . parse ( result ) ; return result ; } catch ( e ) { } } if ( contentType && contentType . indexOf ( 'application/json' ) == 0 ) { try { result = JSON . parse ( result ) ; } catch ( e ) { } } //todo: xml result return result ; }