christophedlr/pjsonobject

pjsonobject is an library for manage JSON document to PHP object and PHP object to JSON document

1.0.0 2019-12-20 11:20 UTC

This package is auto-updated.

Last update: 2025-01-20 23:18:40 UTC


README

Build Status

Install

Type composer require christophedlr/pjsonobject or clone the repository.

Usage

jsonToObject method requiered two arguments : JSON document and classname. This method return a new classname object containing the JSON document.

objectToJson method requiered one argument : a class containing the informations. This method return a JSON document contaning the content of class.