Hi Erik,

The reported problem is with the rjson package.

Then I tried with RJSONIO, which worked fine and aparently is faster.

Thanks.

On Wed, Jun 30, 2010 at 4:05 PM, Erik Iverson <eriki@ccbr.umn.edu> wrote:

> You don't say what package fromJSON is in, or give us the ability to
> reproduce the error, since we don't know what 's' is.  If those two pieces
> of information are possible to give to the list, it will be much easier to
> help.
>
>
> dabd wrote:
>
>> Hi,
>>
>> I am trying to consume a web service that returns a JSON string, however,
>> when I run
>>
>>> fromJSON(s)
>>>
>> Error: '\/' is an unrecognized escape in character string starting
>> "http:\/"
>>
>> because the string s contains a single backslash, which is the JSON escape
>> character, but R expects 2 backslashes, I think.
>>
>> Is there anyway to preprocess the JSON string returned from the web
>> service
>> so it escapes it according to R escaping rules?
>>
>> Thanks.
>>
>

	[[alternative HTML version deleted]]

