Skip to content

Releases: phpgt/Json

Build JsonObject directly from files

01 Mar 16:19
ba557c4
Compare
Choose a tag to compare

In this release, we introduce the JsonObjectBuilder::fromFile() function that will read the provided file into the appropriate JsonObject type.

Schema validation

01 Mar 14:39
ed440a9
Compare
Choose a tag to compare

In this release, we can now automatically validate JSON objects according to a schema. This feature exists so that WebEngine applications can serve JSON API endpoints with the same effort as HTML pages.

Read the wiki for more information!

July 2023

13 Jul 13:23
8938b37
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

Internal improvements and more control over json_decode

15 Sep 11:31
26b3972
Compare
Choose a tag to compare

What's Changed

  • Enforce maximum json stack depth by @g105b in #9
  • ci: upgrade scrutinizer by @g105b in #10
  • feature: internal exceptions by @g105b in #12
  • feature: pass flags to json_decode by @g105b in #14

Full Changelog: v1.1.0...v1.2.0

Throw JsonDecodeException, plus various improvements

14 Sep 15:46
a2e80b7
Compare
Choose a tag to compare

What's Changed

  • static analysis improvements by @g105b in #1
  • build: hard dependencies by @g105b in #2
  • maintenance: dependabot by @g105b in #4
  • feature: throw correct exceptions by @g105b in #6

New Contributors

  • @g105b made their first contribution in #1

Full Changelog: v1.0.0...v1.1.0

v1 release

15 Mar 18:16
Compare
Choose a tag to compare

Following on from the v1 release of PHP.Gt/DataObject earlier today, PHP.Gt/Json is now able to have its first stable release made.

No new functionality has been introduced since the last pre-release, only the upgraded dependency.

Have fun and stay productive!

All JSON compatibility added

19 Jan 10:17
Compare
Choose a tag to compare
Pre-release

It's possible to use all types of JSON object/primitive with this library now. There are more tests required and possibly some extra functionality to add before v1, but for now it will be included in the Fetch repository for real-world testing.