From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: JSON and interpreting JSON objects
Date: Fri, 13 Mar 2015 16:07:17 +0100
Date: 2015-03-13T16:07:17+01:00 [thread overview]
Message-ID: <mduudm$6h4$1@dont-email.me> (raw)
In-Reply-To: <fd80c709-5195-4a5b-b276-5c8931e47511@googlegroups.com>
On 2015-03-13 14:15, tonyg wrote:
>
>
> I'm playing with some JSON. I am trying to pick some information out of a JSON object but am trying to understand what I am doing first.
> In the following code I am not totally sure about displaying a JSON object, and I was wondering what to put in "when JSON_Object_Type
Have a look in Gnatcoll.Json.Write
In there, they do what you want - printout of a JSON, testing on
different types, JSON_Object_Type included.
in gnatcoll.Json spec, there is
subtype JSON_Container_Value_Type is JSON_Value_Type range
JSON_Array_Type .. JSON_Object_Type;
which indicates that it is some kind of container.
--
Björn
next prev parent reply other threads:[~2015-03-13 15:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-13 13:15 JSON and interpreting JSON objects tonyg
2015-03-13 15:07 ` Björn Lundin [this message]
2015-03-13 16:03 ` tonyg
2015-03-16 12:01 ` tonyg
2015-03-16 13:11 ` tonyg
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox