lintaba/j2p

There is no license information available for the latest version (0.1.0) of this package.

json to php

0.1.0 2019-09-02 18:26 UTC

This package is auto-updated.

Last update: 2024-10-29 05:28:44 UTC


README

Json to php cli converter tool.

Installion

composer global require lintaba/j2p

Usage

Convert clipboard's json to php format

pbpaste | j2p | pbcopy

Convert from stdin

echo '{"foo":42}' | j2p

Output:

[
    'foo' => 42,
]