Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Files and folders here will be not included when creating package
/tests export-ignore
/examples export-ignore
/.github export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml export-ignore
# Files and folders here will be not included when creating package
/tests export-ignore
/examples export-ignore
/.github export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml export-ignore
/sonar-project.properties export-ignore
4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# These are supported funding model platforms
custom: ["https://paypal.me/IbrahimBinAlshikh"]
# These are supported funding model platforms
custom: ["https://paypal.me/IbrahimBinAlshikh"]
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
labels:
- "dependencies"
commit-message:
prefix: "chore(deps)"
target-branch: "main"
4 changes: 2 additions & 2 deletions .github/workflows/php81.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:
jobs:
test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.5
with:
php-version: '8.1'

code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.5
with:
php-version: '8.1'
coverage-file: 'php-8.1-coverage.xml'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/php82.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
jobs:
test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.5
with:
php-version: '8.2'
phpunit-config: "tests/phpunit10.xml"
phpunit-config: "tests/phpunit.xml"

code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.5
with:
php-version: '8.2'
coverage-file: 'php-8.2-coverage.xml'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/php83.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:

test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.5
with:
php-version: '8.3'
phpunit-config: 'tests/phpunit10.xml'
phpunit-config: 'tests/phpunit.xml'


code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.5
with:
php-version: '8.3'
coverage-file: 'php-8.3-coverage.xml'
Expand All @@ -31,13 +31,13 @@ jobs:
code-quality:
name: Code Quality
needs: test
uses: WebFiori/workflows/.github/workflows/quality-sonarcloud.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/quality-sonarcloud.yaml@v1.2.5
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

release-prod:
name: Prepare Production Release Branch / Publish Release
needs: [code-coverage, code-quality]
uses: WebFiori/workflows/.github/workflows/release-php.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/release-php.yaml@v1.2.5
with:
branch: 'main'
6 changes: 3 additions & 3 deletions .github/workflows/php84.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
jobs:
test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.5
with:
php-version: '8.4'
phpunit-config: "tests/phpunit10.xml"
phpunit-config: "tests/phpunit.xml"

code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.5
with:
php-version: '8.4'
coverage-file: 'php-8.4-coverage.xml'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/php85.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:

test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.5
with:
php-version: '8.5'
phpunit-config: 'tests/phpunit10.xml'
phpunit-config: 'tests/phpunit.xml'


code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.5
with:
php-version: '8.5'
coverage-file: 'php-8.5-coverage.xml'
Expand Down
22 changes: 11 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/nbproject
test.*
.php_cs.cache
.phpunit.result.cache
clover.xml
*.phar
.idea/*
vendor/*
composer.lock
.php-cs-fixer.cache
json-output/json-file.json
/nbproject
test.*
.php_cs.cache
.phpunit.result.cache
clover.xml
*.phar
.idea/*
vendor/*
.php-cs-fixer.cache
json-output/json-file.json
92 changes: 38 additions & 54 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,38 @@
# Changelog

## [4.0.1](https://github.com/WebFiori/json/compare/v4.0.0...v4.0.1) (2026-03-04)


### Features

* Added Support for Converting Public Props ([5565346](https://github.com/WebFiori/json/commit/5565346d3d0937956b3116b8aedd01b10107d502))
* Added Support for Converting Public Props ([e8222f3](https://github.com/WebFiori/json/commit/e8222f336201f7f438cd424a200cd0b10e5ab9d4))


### Miscellaneous Chores

* Merge pull request [#51](https://github.com/WebFiori/json/issues/51) from WebFiori/dev ([5565346](https://github.com/WebFiori/json/commit/5565346d3d0937956b3116b8aedd01b10107d502))
* Merge pull request [#53](https://github.com/WebFiori/json/issues/53) from WebFiori/dev ([5aac536](https://github.com/WebFiori/json/commit/5aac536dc1140d6ed3c9748732afe1088a4497c3))
* Run CS Fixer ([4e49727](https://github.com/WebFiori/json/commit/4e49727604b5b39418a4d6994f8266694a078d17))
* Updated Composer File ([8798259](https://github.com/WebFiori/json/commit/8798259d5f27b1bfa82acbbaffb816c50b76f98d))

## [4.0.0](https://github.com/WebFiori/json/compare/v3.3.2...v4.0.0) (2025-07-30)


### ⚠ BREAKING CHANGES

* This major version introduces significant improvements and may contain breaking changes from previous versions. Please review the changelog and update your code accordingly.

### Features

* upgrade to version 4.0.0 ([ff8a02e](https://github.com/WebFiori/json/commit/ff8a02ecba0f040d0be0f3f123c08b1e9f9d1b8a))


### Bug Fixes

* Multiple Issues ([98bc0e5](https://github.com/WebFiori/json/commit/98bc0e5b1c0f17e6ea5ee9cb369b6aff4fa7d493))


### Miscellaneous Chores

* Enhance PHP Docs ([e0bf363](https://github.com/WebFiori/json/commit/e0bf36390856cf462048722876c8e85055f8378b))
* Moved Files ([3ceb92d](https://github.com/WebFiori/json/commit/3ceb92d35f5545e79620c8d37236fefcb630942d))
* Remove PHP 8.0 ([c7ae980](https://github.com/WebFiori/json/commit/c7ae98052264ef34848f27aba36c0d893cffef78))

## [3.3.2](https://github.com/WebFiori/json/compare/v3.3.1...v3.3.2) (2025-01-28)


### Bug Fixes

* Change of Properties Style on Parsing ([4bdccc3](https://github.com/WebFiori/json/commit/4bdccc39f6c751a8f30c274f4fac3814a954785e))

## [3.3.1](https://github.com/WebFiori/json/compare/v3.3.0...v3.3.1) (2024-12-23)


### Bug Fixes

* Use of New Null Syntax ([d82823d](https://github.com/WebFiori/json/commit/d82823d1cd438219c8bffaad2e000994cd6732f4))
# Changelog

## [4.0.0](https://github.com/WebFiori/json/compare/v3.3.2...v4.0.0) (2025-07-30)


### ⚠ BREAKING CHANGES

* This major version introduces significant improvements and may contain breaking changes from previous versions. Please review the changelog and update your code accordingly.

### Features

* upgrade to version 4.0.0 ([ff8a02e](https://github.com/WebFiori/json/commit/ff8a02ecba0f040d0be0f3f123c08b1e9f9d1b8a))


### Bug Fixes

* Multiple Issues ([98bc0e5](https://github.com/WebFiori/json/commit/98bc0e5b1c0f17e6ea5ee9cb369b6aff4fa7d493))


### Miscellaneous Chores

* Enhance PHP Docs ([e0bf363](https://github.com/WebFiori/json/commit/e0bf36390856cf462048722876c8e85055f8378b))
* Moved Files ([3ceb92d](https://github.com/WebFiori/json/commit/3ceb92d35f5545e79620c8d37236fefcb630942d))
* Remove PHP 8.0 ([c7ae980](https://github.com/WebFiori/json/commit/c7ae98052264ef34848f27aba36c0d893cffef78))

## [3.3.2](https://github.com/WebFiori/json/compare/v3.3.1...v3.3.2) (2025-01-28)


### Bug Fixes

* Change of Properties Style on Parsing ([4bdccc3](https://github.com/WebFiori/json/commit/4bdccc39f6c751a8f30c274f4fac3814a954785e))

## [3.3.1](https://github.com/WebFiori/json/compare/v3.3.0...v3.3.1) (2024-12-23)


### Bug Fixes

* Use of New Null Syntax ([d82823d](https://github.com/WebFiori/json/commit/d82823d1cd438219c8bffaad2e000994cd6732f4))
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2019 Ibrahim BinAlshikh, JsonX library

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2019 Ibrahim BinAlshikh, JsonX library
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@
},
"scripts": {
"test": "phpunit --configuration tests/phpunit.xml",
"test10": "phpunit --configuration tests/phpunit10.xml",
"fix-cs": "php-cs-fixer fix --config=php_cs.php.dist"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"friendsofphp/php-cs-fixer": "^3.92"
},
"config": {
"platform": {
"php": "8.1"
}
}
}
Loading
Loading