Changeset 14208

Show
Ignore:
Timestamp:
06/30/08 09:43:19 (6 months ago)
Author:
peller
Message:

Make it clear that dojo.fromJson throws exceptions. Fixes #7082

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/_base/json.js

    r14079 r14208  
    33dojo.fromJson = function(/*String*/ json){ 
    44        // summary: 
    5         //              Parses a [JSON](http://json.org) string to return a JavaScript object. 
     5        //              Parses a [JSON](http://json.org) string to return a JavaScript object.  Throws for invalid JSON strings. 
    66        // json:  
    77        //              a string literal of a JSON item, for instance: