Re: Naming stuff is hard.. Data::Topology::JSON

[email protected] ("Konstantin S. Uvarin")
Newsgroups perl.module-authors
Message-ID <CAJj2qWkOxFHXcdYTn--VKkbVy_hGSOYBiD00pUQLNt=KCvHT0g@mail.gmail.com>
Hello,

 Does this module work on JSON-encoded data, or on a Perl structure
achieved by decoding JSON? If latter is the case, then maybe the JSON part
may be omitted altogether? Something like Data::Schema::Inferred?

  If it's JSON-encoded, I second Smylers' answer.

On Mon, Oct 24, 2016 at 11:49 AM, Smylers <[email protected]> wrote:

> Aaron Trevena writes:
>
> > I don't have a clean-room data set I can use as an example right now,
> > but essentially I'm parsing json, making a note of the names and
> > hierarchy of the fields, using dot-notation (i.e. like mongo) to name
> > nested fields, infer their type (i.e. ip address, mac address, epoch
> > time, etc) from data, and get a sample of the data. From that I can
> > then output a JSON::Schema or other documentation describing the data
> > itself.
>
> If your module is Json-specifiec and there already exists a JSON::
> top-level namespace, then I think it's much better to put it somewhere
> under JSON:: than Data::, which is so generic it tells users very little
> about the module's purpose.
>
> How about JSON::Schema::Inferred?
>
> Smylers
> --
> http://twitter.com/Smylers2
>



-- 
Konstantin S. Uvarin
jabber: see <from>
skype: kuvarin
http://github.com/dallaylaen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.