Tuesday, September 24, 2013

RubyでJSON/XMLをPretty Printするgem prettyprint



$ gem install prettyprint


prettyprint [json|xml] [filepath]


$ prettyprint json input.json


$ echo '<html><title>prettyprint</title><body>happy pretty printing</body></html>' | prettyprint xml
  happy pretty printing

1 comment:

Tendaxes Hobisons said...

As hobbyist enjoy journalists, we certainly have generally given anyone using cost-effective choices getting started in difficult wrist watches, together with options that fit this description. Nevertheless manner on the holiest about holies and particularly a person on a well-known and highly regarded view, offers nevertheless also been out of the question to the majority. Contains your five divide brands covering anything from the two-hand intelligent to your observe as well as offered in many call in addition to secure models http://www.replicabestsale.co.uk, the following different group all together is often a wonderful together with accept flying as a result of old systems.