Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aurimasniekis/ascii-plist-decoder
Decoding to php-array tool of (Old-style, NextStep) Ascii Plist
https://github.com/aurimasniekis/ascii-plist-decoder
Last synced: about 2 months ago
JSON representation
Decoding to php-array tool of (Old-style, NextStep) Ascii Plist
- Host: GitHub
- URL: https://github.com/aurimasniekis/ascii-plist-decoder
- Owner: aurimasniekis
- Created: 2016-12-02T12:33:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2013-05-10T08:12:09.000Z (over 11 years ago)
- Last Synced: 2023-03-22T05:16:23.145Z (almost 2 years ago)
- Language: PHP
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AsciiPlist\Decoder
Decoding to php-array tool of (Old-style, NextStep) Ascii Plist
## Example
$s = '
{
"key-1" = "value 1";
"key-2" = "value 2";
"ary" = (
"1", "2", "13"
);
"pysch" = "\'lol\"bugoga\\\\";
}
';$out = \AsciiPlist\Decoder::decode($s);
echo $s.PHP_EOL;
echo var_export($out, true).PHP_EOL;See test.php for full example.
## License
[WTFPL](http://sam.zoy.org/wtfpl/).