JSC_TYPE_MISMATCH. assignment to property responseJSON of filevision.net.API.Response
found : *
required: (Object|null) at ../filevision/net/API.js line 290 : 12
/**
* Response as JSON object
* @type {Object}
*/
this.responseJSON = window.JSON.parse(xhr.getResponseText(), opt_reviver);
The code predates the common existence of JSON.parse, thus this is why
it uses goog.json.parse.
Really, it should just be deprecated.
Nathan
On Mon, May 13, 2013 at 10:25 AM, John Munro <ghos...@gmail.com> wrote:
> I'm using goog.net.XhrIo.getResponseJson() but it doesn't have a parameter
> for a reviver to convert dates (neither does goog.json.parse). Is there any
> reason not to use JSON.parse on goog.net.XhrIo.getResponseText()?
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Closure Library Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to closure-library-discuss+unsub...@googlegroups.com.
>> > email to closure-library-discuss+unsub...@googlegroups.com.
>> > For more options, visit https://groups.google.com/groups/opt_out.
>> >
>> >
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Closure Library Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to closure-library-discuss+unsub...@googlegroups.com.