2017 © Pedro Peláez
 

library iaso

Powerful JSON Toolkit, includes a JSON parser immune to Hash-DoS attacks

image

paragonie/iaso

Powerful JSON Toolkit, includes a JSON parser immune to Hash-DoS attacks

  • Monday, March 27, 2017
  • by paragonie-scott
  • Repository
  • 7 Watchers
  • 52 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Iaso

Build Status Latest Stable Version Latest Unstable Version License, (*1)

Iaso is a powerful JSON toolkit for PHP 7+, intended for any organization that builds or consumes JSON-based APIs., (*2)

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., (*3)

Features

  • HDoS resistant data structure (ResultSet)
  • Basic JSON parser (returns ResultSet objects)
    • Assoc is a JSON object
    • Ordered is a JSON array

Roadmap

  • Contract-enforced JSON parser
    • Allows strict types, data limits
    • Throws an exception if any violations are found

Usage Examples

Simple JSON Parsing

use ParagonIE\Iaso\JSON;
use ParagonIE\Iaso\ResultSet;

$data = JSON::parse($string);
var_dump($data instanceof ResultSet); /* bool(true) */

The Versions

27/03 2017

dev-master

9999999-dev

Powerful JSON Toolkit, includes a JSON parser immune to Hash-DoS attacks

  Sources   Download

MIT

The Requires

 

The Development Requires

json

27/03 2017

v0.1.0

0.1.0.0

Powerful JSON Toolkit, includes a JSON parser immune to Hash-DoS attacks

  Sources   Download

MIT

The Requires

 

The Development Requires

json