0.0.1 • Published 8 years ago

jyj v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

=pod

=for comment DO NOT EDIT. This Pod was generated by Swim v0.1.43. See http://github.com/ingydotnet/swim-pm#readme

=encoding utf8

=head1 Name

jyj - JSON <-> YAML Converter

=head1 Synopsis

  $ jyj file.json > file.yaml
  $ jyj file.yaml > file.json
  $ cat file.json | jyj > file.yaml
  $ cat file.yaml | jyj | jyj > file2.yaml
  $ jyj file.yaml --compact > file.json       # compact JSON

=head1 Description

The C tool converts JSON input to YAML, and YAML input to JSON. It takes a file argument or reads from stdin. It always writes to stdout.

=head1 Installation

The C command is written in NodeJS. To install it, run:

  > npm install -g jyj

=head1 Command Options

The C command has the following options:

=over

=item * C<-c>, C<--compact>

If output is JSON, write it compact. Default JSON output is pretty printed.

=back

=cut