From mboxrd@z Thu Jan 1 00:00:00 1970 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:558:fe16:19:96:114:154:165; helo=resqmta-po-06v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-po-06v.sys.comcast.net (resqmta-po-06v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:165]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 0916F779A1 for ; Sun, 6 May 2018 04:45:48 -0700 (PDT) Received: from resomta-po-04v.sys.comcast.net ([96.114.154.228]) by resqmta-po-06v.sys.comcast.net with ESMTP id FI60fdIGylCzCFI6gf9xFF; Sun, 06 May 2018 11:45:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1525607134; bh=6nsHCXp0vGY2mVonE2SDaVF+sOacziSsn8Ege5aHqcc=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=L68o5aqLAbg9yB3wLHojDLzvRvqBNCiThum7K6sV+qqIIJw4KkdEmrMWxA4mfIXMh 1OQx39kkH2AqnJiW9xpps6vjkVfISU1CZJHj5yvUkQlnLF8j/+hQhOSmAPGC9v3ZBT yBFQfSZgwXaS3TVzhjD3VcT2EYRF7a7YM5gO54FZr6jmYX5gszE6Q9r7cnHoAfQ03B xycsYB2u+azqVB5khE6tipRi6qtYbyp7fQBTmbDYHfGugbKFUqwxBTvsHhIht7P3Oz dYMIxwFP+rW9qQU9CqLFA8RObYpjDMZVv1R5bGZ10l5Kf5fN1LxiGPfvy4injMZvUD BzFHIIvrJCIEQ== Received: from unknown ([IPv6:2601:408:c300:8f09:21e:4fff:fec2:a0f1]) by resomta-po-04v.sys.comcast.net with ESMTPA id FI6ffnw7ocqEbFI6gfovu7; Sun, 06 May 2018 11:45:34 +0000 To:edbrowse-dev@edbrowse.org From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.7.3 Subject: [edbrowse-dev] json what to do Date: Sun, 06 May 2018 07:45:33 -0400 Message-ID: <20180406074533.eklhad@comcast.net> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfObh+7eXDN1d0E6Idlf3Q6UqQwm+F/rkhYIkatDoPVjQkSKIMyMlpOnP/vX/RWIBcAn5H5i/6jOdialQi8SycLTl8qdjPKq9u2OwTYwSRNztST8/9AVS B0w8/fqhul9tNYnw8OiEOCA+xEUFgKWWBO826vMrYy/B+MX/0W6dJAo1W6sMoIy6JptgCAEv9vuooqD2Coup6SZfsYd7AhRMxIuW0DGPU2tGCKI1qCVR9Mfd I know almost nothing about json so bear with me. Open your Bibles please to https://www.ibm.com/us-en/ Don't browse, just look at the html. ,s/>\n What is that? I'm sure it's there for a reason. We need to know what to do with it. I gathered it up into a string and passed it to JSON.parse() in duktape and it parses just fine. That returns the corresponding javascript object. All good, but what am I suppose to do with this object? If I just feed this string to JSON.parse, that object gets thrown away. It all gets thrown away. Unless I store it somewhere, but where? The script doesn't specify a variable for me to put it in. Do I put it under some property under the script object? Any help appreciated. Karl Dahlke