Opened 13 years ago
Closed 13 years ago
#6964 closed enhancement (fixed)
Allow jsonPathStore.dump() to print pretty
Reported by: | dante | Owned by: | dylan |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | General | Version: | 1.1.1 |
Keywords: | Cc: | Dustin Machi | |
Blocked By: | Blocking: |
Description
The dojox.data.jsonPathStore has a [very useful] .dump() method, though in using it, I immediately wanted to print "pretty" to trap the data to a pipe (from rhino / AIR, etc)
I ended up just modifying ~635:
return dojo.toJson(data, options.pretty || false)
allowing safe passage of a "pretty" boolean to the dump() call params, retaining expected behavior if null.
I am suggesting this as an enhancement.
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | jsonPath.patch added |
---|
comment:1 Changed 13 years ago by
Owner: | changed from kriszyp to dylan |
---|---|
Status: | new → assigned |
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
my patch