You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Andrew Musselman <an...@gmail.com> on 2014/04/09 23:47:06 UTC

JSON formatting

In https://issues.apache.org/jira/browse/MAHOUT-1505 we have a question
about changing the format of the quasi-JSON formatting that is output to
summarize clusters.

I would think since the string is mal-formed now that people are writing
their own custom parsing to pull info out of a string like this:

{"cluster":"VL-10515{n=5924 c=[action:0.023, adherence:0.223,
administration:0.011 r=[action:0.446, adherence:1.501,
administration:0.306]}"}


What concerns would there be in correcting this formatting, if any?

Re: JSON formatting

Posted by Ted Dunning <te...@gmail.com>.
Using a real format would be a god-send here.


On Wed, Apr 9, 2014 at 2:47 PM, Andrew Musselman <andrew.musselman@gmail.com
> wrote:

> In https://issues.apache.org/jira/browse/MAHOUT-1505 we have a question
> about changing the format of the quasi-JSON formatting that is output to
> summarize clusters.
>
> I would think since the string is mal-formed now that people are writing
> their own custom parsing to pull info out of a string like this:
>
> {"cluster":"VL-10515{n=5924 c=[action:0.023, adherence:0.223,
> administration:0.011 r=[action:0.446, adherence:1.501,
> administration:0.306]}"}
>
>
> What concerns would there be in correcting this formatting, if any?
>