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: 3 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2013-05-10T08:12:09.000Z (about 12 years ago)
- Last Synced: 2025-01-28T01:47:03.825Z (5 months ago)
- Language: PHP
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- 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/).