Download the PHP package plepe/json-multiline-strings without Composer
On this page you can find all versions of the php package plepe/json-multiline-strings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download plepe/json-multiline-strings
More information about plepe/json-multiline-strings
Files in plepe/json-multiline-strings
Download plepe/json-multiline-strings
More information about plepe/json-multiline-strings
Files in plepe/json-multiline-strings
Vendor plepe
Package json-multiline-strings
Short Description One shortcoming of JSON is the lack of multiline support. This module will split/join multiline strings to string arrays which is more readable.
License GPL-3.0
Homepage https://github.com/plepe/json-multiline-strings
Package json-multiline-strings
Short Description One shortcoming of JSON is the lack of multiline support. This module will split/join multiline strings to string arrays which is more readable.
License GPL-3.0
Homepage https://github.com/plepe/json-multiline-strings
Please rate this library. Is it a good library?
Informations about the package json-multiline-strings
json-multiline-strings
One shortcoming of JSON is the lack of multiline support. This module will split/join multiline strings to string arrays which is more readable.
EXAMPLE
Convert to multiline variant:
Convert back to original json:
API
jsonMultilineStrings.split(data, options) resp. jsonMultilineStringsSplit(data, options)
Processes input data recursively and convert all multiline strings to string arrays.
Options:
- exclude: Exclude the following paths from modifications. Give an array of string arrays, e.g. [ [ 'foo', 'bar' ], [ 'test' ] ]. This would not modify the paths 'foo/bar' and 'test'.
jsonMultilineStrings.join(data, options) resp. jsonMultilineStringsJoin(data, options)
Processes input data recursively and convert all string arrays to multiline strings.
Options:
- exclude: Exclude the following paths from modifications. Give an array of string arrays, e.g. [ [ 'foo', 'bar' ], [ 'test' ] ]. This would not modify the paths 'foo/bar' and 'test'.
INSTALL
JS usage via npm
PHP usage via composer
Development
All versions of json-multiline-strings with dependencies
PHP Build Version
Package Version
No informations.
The package plepe/json-multiline-strings contains the following files
Loading the files please wait ....