Download the PHP package ergebnis/json-pointer without Composer
On this page you can find all versions of the php package ergebnis/json-pointer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ergebnis/json-pointer
More information about ergebnis/json-pointer
Files in ergebnis/json-pointer
Package json-pointer
Short Description Provides an abstraction of a JSON pointer.
License MIT
Homepage https://github.com/ergebnis/json-pointer
Informations about the package json-pointer
json-pointer
This project provides a composer package with an abstraction of a JSON pointer.
Installation
Run
Usage
ReferenceToken
You can create a ReferenceToken from a string value:
You can create a ReferenceToken from a JSON string value:
You can create a ReferenceToken from a URI fragment identifier string value:
You can create a ReferenceToken from an int value:
You can compare ReferenceTokens:
JsonPointer
You can create a JsonPointer referencing a document:
You can create a JsonPointer from a JSON string representation value:
You can create a JsonPointer from a URI fragment identifier string representation value:
You can create a JsonPointer from ReferenceTokens:
You can compare JsonPointers:
You can append a ReferenceToken to a JsonPointer:
Specification
You can create a Specification that is always satisfied by a JsonPointer:
You can create a Specification that is satisfied when a closure returns true for a JsonPointer:
You can create a Specification that is satisfied when a JsonPointer equals another JsonPointer:
You can create a Specification that is never satisfied by a JsonPointer:
You can create a Specification that is satisfied when another Specification is not satisfied by a JsonPointer:
You can compose Specifications to find out if a JsonPointer satisfies any of them:
Changelog
The maintainers of this project record notable changes to this project in a changelog.
Contributing
The maintainers of this project suggest following the contribution guide.
Code of Conduct
The maintainers of this project ask contributors to follow the code of conduct.
General Support Policy
The maintainers of this project provide limited support.
You can support the maintenance of this project by sponsoring @ergebnis.
PHP Version Support Policy
This project supports PHP versions with active and security support.
The maintainers of this project add support for a PHP version following its initial release and drop support for a PHP version when it has reached the end of security support.
Security Policy
This project has a security policy.
License
This project uses the MIT license.
Social
Follow @localheinz and @ergebnis on Twitter.