mikk150/yii2-jsonx-parser

Yii2 extension for parsin JSONx requests

Installs: 38

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:yii2-extension

1.0.0 2022-04-25 14:00 UTC

This package is auto-updated.

Last update: 2024-03-25 15:32:55 UTC


README

Have you ever thought - How to mess with your fellow developers? How to enjoy big-blue's amazing idea "how to merge inferior XML with vastly superior JSON?". Fear not, JSONx is for you!

Yii2 module for parsing JSONx requests.

Installation:

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist mikk150/yii2-jsonx-parser "^1.0.0"

or add

"mikk150/yii2-jsonx-parser": "^1.0.0"

to the require section of your composer.json.

Configuration:

    'components' => [
        'request' => [
            'parsers' => [
                'application/xml' => mikk150\jsonx\JsonXParser::class,
            ]
        ]
    ]