You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
387 B
7 lines
387 B
2 months ago
|
In [Issue Tracker](http://code.google.com/p/phpquery/issues/list) there is a list of [plugins which are planned to be ported](http://code.google.com/p/phpquery/issues/list?can=2&q=label%3APort).
|
||
|
## JSON
|
||
|
Port of [JSON](http://jollytoad.googlepages.com/json.js) plugin.
|
||
|
```
|
||
|
$jsonString = phpQuery::toJSON( pq('form')->serializeArray() );
|
||
|
$array = phpQuery::parseJSON('{"foo": "bar"}');
|
||
|
```
|