Download the PHP package vergelijkgroep/yii2-json-behavior without Composer
On this page you can find all versions of the php package vergelijkgroep/yii2-json-behavior. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vergelijkgroep/yii2-json-behavior
More information about vergelijkgroep/yii2-json-behavior
Files in vergelijkgroep/yii2-json-behavior
Download vergelijkgroep/yii2-json-behavior
More information about vergelijkgroep/yii2-json-behavior
Files in vergelijkgroep/yii2-json-behavior
Vendor vergelijkgroep
Package yii2-json-behavior
Short Description Yii2 json encoding and decoding attribute behavior
License MIT
Package yii2-json-behavior
Short Description Yii2 json encoding and decoding attribute behavior
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-json-behavior
Yii2 JSON attribute behavior
Automatically encode/decode attribute values in JSON via Yii2 Behavior.
Install
Install via Composer:
or add
to the require section of your composer.json file.
Usage
JsonBehavior
Configure your model:
The attributes will now automatically be encoded and decoded:
emptyValue
The emptyValue is the value of the attribute when its null after decoding from JSON. Default is null.
asArray
The asArray option defines the JSON decoding format, true for associative array, false for object. Default is false.
License
This software is distributed under the MIT license.
All versions of yii2-json-behavior with dependencies
PHP Build Version
Package Version
The package vergelijkgroep/yii2-json-behavior contains the following files
Loading the files please wait ...