https://github.com/ergebnis/json
📃 Provides a composer package with a Json value object for representing a valid JSON string.
https://github.com/ergebnis/json
json
Last synced: about 1 year ago
JSON representation
📃 Provides a composer package with a Json value object for representing a valid JSON string.
- Host: GitHub
- URL: https://github.com/ergebnis/json
- Owner: ergebnis
- License: mit
- Created: 2022-12-10T11:40:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T07:00:42.000Z (about 2 years ago)
- Last Synced: 2024-05-01T11:41:18.395Z (about 2 years ago)
- Topics: json
- Language: PHP
- Size: 1.34 MB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# json
[](https://github.com/ergebnis/json/actions)
[](https://github.com/ergebnis/json/actions)
[](https://github.com/ergebnis/json/actions)
[](https://github.com/ergebnis/json/actions)
[](https://codecov.io/gh/ergebnis/json)
[](https://packagist.org/packages/ergebnis/json)
[](https://packagist.org/packages/ergebnis/json)
[](https://packagist.org/packages/ergebnis/json)
This project provides a [`composer`](https://getcomposer.org) package with a `Json` value object for representing a valid JSON `string`.
## Installation
Run
```sh
composer require ergebnis/json
```
## Usage
### Create a `Json` object from `string`
Create a `Json` object from a `string`:
```php