Issue #16172 has been updated by R.I. Pienaar.
It's a bit more than just carriage returns.. <pre> >> catalog.resources.size => 744 >> PSON.dump(catalog).size => 385430 >> PSON.pretty_generate(catalog).size >> >> => 622574 </pre> Not considering IO time the time difference between the 2 is quite small, but I agree that readable catalogs does have value, currently the yaml catalogs are easy to read and it's good to dig in there to see the end result is as you'd expect ---------------------------------------- Bug #16172: JSON should be pretty-printed when serialized to disk https://projects.puppetlabs.com/issues/16172#change-70223 Author: Luke Kanies Status: Re-opened Priority: Normal Assignee: Category: usability Target version: Affected Puppet version: 3.0.0-rc5 Keywords: Branch: Now that we're storing catalogs as json instead of yaml, it's painful that we don't pretty-print them. You have to go through a complicated process to read them at all, and if we just spared some carriage returns, it'd be much better. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
