Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #9483
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'json': 0.07; 'subject:issue': 0.07; 'from:addr:python': 0.09; 'valueerror:': 0.09; 'output': 0.11; 'wrote:': 0.15; '"...': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.92': 0.16; 'received:84.92.122': 0.16; 'received:84.92.122.60': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'reply-to:addr :python-list': 0.16; 'java': 0.21; 'this?': 0.22; 'header:In- Reply-To:1': 0.22; 'trying': 0.23; 'invalid': 0.25; '(or': 0.25; "i'm": 0.27; 'received:84': 0.28; 'correct': 0.29; 'problem': 0.29; 'fix': 0.29; 'to:addr:python-list': 0.34; 'header:User- Agent:1': 0.34; 'be.': 0.34; 'reply-to:addr:python.org': 0.35; 'skip:" 10': 0.36; 'some': 0.37; 'not,': 0.38; 'subject:: ': 0.38; 'should': 0.39; 'either': 0.39; 'to:addr:python.org': 0.39; 'greetings,': 0.66; 'cause': 0.69; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.72 |
| X-IronPort-Anti-Spam-Filtered | true |
| X-IronPort-Anti-Spam-Result | AiQIAL5AH05UXebj/2dsb2JhbABUmGCOfneIfMIKhjoEl2SLUg |
| Date | Thu, 14 Jul 2011 20:20:20 +0100 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: json decode issue |
| References | <87ac9918-c05c-482e-9789-ee90b1e9eb80@glegroupsg2000goo.googlegroups.com> |
| In-Reply-To | <87ac9918-c05c-482e-9789-ee90b1e9eb80@glegroupsg2000goo.googlegroups.com> |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | python-list@python.org |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1034.1310671218.1164.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1310671218 news.xs4all.nl 23870 [2001:888:2000:d::a6]:37931 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:9483 |
Show key headers only | View raw
On 14/07/2011 18:22, Miki Tebeka wrote:
> Greetings,
>
> I'm trying to decode JSON output of a Java program (jackson) and having some issues.
> The cause of the problem is the following snippet:
> {
> "description": "... lives\uMOVE⢠OFFERS ",
> }
> Which causes ValueError: Invalid \uXXXX escape.
>
> Any ideas on how to fix this?
>
Is that valid JSON? If not, you'll either need to fix the program which
generated it (or report it as a bug), or pre-process the JSON to
correct the error, if you know what it should be.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
json decode issue Miki Tebeka <miki.tebeka@gmail.com> - 2011-07-14 10:22 -0700 Re: json decode issue MRAB <python@mrabarnett.plus.com> - 2011-07-14 20:20 +0100 Re: json decode issue Terry Reedy <tjreedy@udel.edu> - 2011-07-14 16:03 -0400 Re: json decode issue Nobody <nobody@nowhere.com> - 2011-07-15 06:10 +0100
csiph-web