Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (22) | Download .zip | Reputation | Support forum (1) | Blog (1) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2022-05-23 (25 days ago) | Not enough user ratings | Total: 62 This week: 24 | All time: 10,096 This week: 6 |
Version | License | PHP version | Categories | |||
iaso 1.0.0 | MIT/X Consortium ... | 5 | Parsers, PHP 7 |
Description | Author | |||
This package can parse JSON strings immune to hash-DoS attacks. Innovation Award
|
Iaso is a powerful JSON toolkit for PHP 7+, intended for any organization that builds or consumes JSON-based APIs.
Iaso was developed by Paragon Initiative Enterprises to allow projects to build APIs without being vulnerable to hash-collision denial of service attacks from PHP's JSON functions.
use ParagonIE\Iaso\JSON;
use ParagonIE\Iaso\ResultSet;
$data = JSON::parse($string);
var_dump($data instanceof ResultSet); /bool(true)/
Files |
File | Role | Description | ||
---|---|---|---|---|
src (6 files, 2 directories) | ||||
tests (3 files, 1 directory) | ||||
.travis.yml | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpunit.xml.dist | Data | Auxiliary data | ||
psalm.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Contract (2 files) | ||||
Result (3 files) | ||||
Contract.php | Class | Class source | ||
JSON.php | Class | Class source | ||
JSONError.php | Class | Class source | ||
Parser.php | Class | Class source | ||
ParseState.php | Class | Class source | ||
ResultSet.php | Class | Class source |
Files | / | src | / | Contract |
File | Role | Description |
---|---|---|
Blank.php | Class | Class source |
TypeInterface.php | Class | Class source |
Files | / | src | / | Result |
File | Role | Description |
---|---|---|
Assoc.php | Class | Class source |
Bare.php | Class | Class source |
Ordered.php | Class | Class source |
Files | / | tests |
File | Role | Description | ||
---|---|---|---|---|
benchmarks (2 files) | ||||
JSONTest.php | Class | Class source | ||
ParserTest.php | Class | Class source | ||
ResultSetTest.php | Class | Class source |
Files | / | tests | / | benchmarks |
File | Role | Description |
---|---|---|
average-case.php | Aux. | Auxiliary script |
hashdos.php | Aux. | Auxiliary script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Comments (2) | ||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.