2017 © Pedro Peláez
 

library yaml2json

Full-fidelity YAML to JSON converter

image

dirtsimple/yaml2json

Full-fidelity YAML to JSON converter

  • Sunday, March 18, 2018
  • by pjeby
  • Repository
  • 1 Watchers
  • 0 Stars
  • 81 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 40 % Grown

The README.md

YAML/JSON Converters

This is a pure-PHP YAML to JSON (and JSON to YAML) converter pair for use with jqmd, imposer, and similar tools in environments where better conversion tools are not available., (*1)

The converters take no options, reading one format from stdin and writing the other to stdout. The executables are PHARs named yaml2json.php and json2yaml.php to avoid conflict with other executables with these base names, and are distributed as PHARs to avoid dependency conflicts., (*2)

(That is, requiring this package installs only the executable PHARs to vendor/bin to be used purely as command-line tools, without affecting the requiring project's autoloader or dependencies.), (*3)

As of version 1.2, the output of json2yaml.php is generated using the dirtsimple/clean-yaml package, to support optimum diffing and readability., (*4)

The Versions

18/03 2018

dev-master

9999999-dev

Full-fidelity YAML to JSON converter

  Sources   Download

MIT

The Development Requires

18/03 2018

v1.0.0

1.0.0.0

Full-fidelity YAML to JSON converter

  Sources   Download

MIT

The Development Requires