Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2FB810562 for ; Mon, 2 Sep 2013 15:39:52 +0000 (UTC) Received: (qmail 99495 invoked by uid 500); 2 Sep 2013 15:39:48 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 99406 invoked by uid 500); 2 Sep 2013 15:39:47 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 99393 invoked by uid 99); 2 Sep 2013 15:39:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 15:39:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stammailbox@gmail.com designates 209.85.214.54 as permitted sender) Received: from [209.85.214.54] (HELO mail-bk0-f54.google.com) (209.85.214.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 15:39:41 +0000 Received: by mail-bk0-f54.google.com with SMTP id mz12so1650957bkb.41 for ; Mon, 02 Sep 2013 08:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CfNu+vjlRgRmaI0qTSnSllCr2haGhyxMzDKghS9G2Gs=; b=Tdrrtu25zhzXDI+Q4Zm5V0yV4RR7I3Pzb+jWSp87kw4PHJyQhs7OcMEHmRktQUnql2 PyjpioRG+zUhO/d5NXtsY0C2lBwQJkeP/dBIJ2kwH943MUq+ET8RvI0tDWzOm7aO+bpt YTn6WByW0bqyR0GoQAPxSW136ApIBzEPiIyikwthRFZd9fGl4U4uG68PucxrtnUrKF2Y UNRjFdAltxg/k6YAfNFC2u1EvtiiNmkNfEyIqMFWl5F9TndgJq696tGtUjFQwaQVgDVj dzSo46CNS1wZeM+TI225u+Xl6BzCBG5O57saDP1Z1FaR3EuO2ZCFdwf4T18OczP7ggtd 6bTQ== MIME-Version: 1.0 X-Received: by 10.205.14.197 with SMTP id pr5mr2621199bkb.25.1378136359979; Mon, 02 Sep 2013 08:39:19 -0700 (PDT) Received: by 10.205.45.65 with HTTP; Mon, 2 Sep 2013 08:39:19 -0700 (PDT) Date: Mon, 2 Sep 2013 18:39:19 +0300 Message-ID: Subject: Problem parsing suggest response From: Mysurf Mail To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=20cf301cc42c30899104e56860c9 X-Virus-Checked: Checked by ClamAV on apache.org --20cf301cc42c30899104e56860c9 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am having problems parsing suggest json response in c#. Here is an example { - responseHeader: { - status: 0, - QTime: 1 }, - spellcheck: { - suggestions: [ - "at", - { - numFound: 1, - startOffset: 1, - endOffset: 3, - suggestion: [ - "atrion" ] }, - "l", - { - numFound: 2, - startOffset: 4, - endOffset: 5, - suggestion: [ - "lot", - "loadtest_template_700" ] }, - "collation", - ""atrion lot"" ] } } 1. Is this a valid json? Shouldnt every item be surrounded by quatation marks? 2. The items "at" and "l" are not preceded by name. (This generates different xml in every online json-to-xml translater. Is this a standard json? Can I interfere with the structure? Thanks. --20cf301cc42c30899104e56860c9--