On Mon, Sep 15, 2014 at 3:40 AM, Tekki <[email protected]> wrote:
> How do you define "formatted well"?
Oddly enough, just line breaks and indents. That is, while this fails to
give me 'mojo get' parsing:
{"total_rows":1,"offset":0,"rows":[
{"id":"ab7093f9bbc349a12c52b449c0002b10","key":[30024,36068],"value":{"_id":"ab7093f9bbc349a12c52b449c0002b10","_rev":"7-2834d595eaed5cab4e92695556b89371","type":"beacon","major":30024,"minor":36068,"internal":{"Device
Name":"Estimote Beacon","Broadcasting Power":"Weak (-12 dBm)","Advertising
Interval":"200 ms","Battery Level":"29%","Operating System":"Estimote OS
A1.9","Hardware
Revision":"D3.3"},"parent":"ab7093f9bbc349a12c52b449c000324e"}}
]}
This succeeds:
{
"total_rows": 1,
"offset": 0,
"rows": [
{
"id": "ab7093f9bbc349a12c52b449c0002b10",
"key": [
30024,
36068
],
"value": {
"_id": "ab7093f9bbc349a12c52b449c0002b10",
"_rev": "7-2834d595eaed5cab4e92695556b89371",
"type": "beacon",
"major": 30024,
"minor": 36068,
"internal": {
"Device Name": "Estimote Beacon",
"Broadcasting Power": "Weak (-12 dBm)",
"Advertising Interval": "200 ms",
"Battery Level": "29%",
"Operating System": "Estimote OS A1.9",
"Hardware Revision": "D3.3"
},
"parent": "ab7093f9bbc349a12c52b449c000324e"
}
}
]
}
As you can see, it's the exact same data, only contains line breaks and
indents.
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.