square/pjson

JSON <=> PHP8+ objects serialization / deserialization library

PHPMakefile
This is stars and forks stats for /square/pjson repository. As of 02 May, 2024 this repository has 98 stars and 6 forks.

A simple library for JSON to PHP Objects conversions Often times, we interact with an API, or data source that returns JSON. PHP only offers the possibility to deserialize that json into an array or objects of type stdClass. This library helps deserializing JSON into actual objects of custom defined classes. It does so by using PHP8's attributes on class properties. Examples Simple serialization of a class use Square\Pjson\Json; use Square\Pjson\JsonSerialize; class Schedule { use JsonSerialize; ...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
composer-unused/composer-unusedPHPMakefileDockerfile1.4k0530
WildCodeSchool/2022-09-php-remote-p2-super-quizzPHPTwigCSS0000
LabyrinthCore/LabyrinthC++PythonC0000
assume-breach/Home-Grown-Red-TeamC++HTMLShell3600750
hacspec/hacspecCoqRustF*227+243+1
soundcloud/spdtScalaShellMakefile520110
yuriy-chumak/olSchemeCC++2140110
ldodds/scifi-terminalsShellMakefile4580120
fwalch/tum-thesis-latexTeXMakefilePerl42202020
AdaCore/spark2014AdaPythonCoq216+1340