PHP Classes

Notable PHP package: PHP Serializable JSON and Array Entity

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 135

Last month viewers: 3

Categories: Notable Packages

Many applications have to use classes that need to save the values of their object variables to file, databases or other form of storage.

Usually they convert the values into string format like JSON or serialized arrays.

This package can add that functionality to any class by providing a trait that all classes can use to provide a built-in form of serialization to JSON or array formats.

Read this article to learn more details about how this notable PHP package works.




Loaded Article
The package PHP Serializable JSON and Array Entity is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Dump objects to strings in JSON and Array formats

Here follows in more detail what it does:

This package can dump objects to strings in JSON and Array formats.

It provides interfaces that can be used to define classes of objects so they can output the values of their properties in JSON or serialized array format.

Classes that do not want to implement the toJSON and to toArray functions can use a trait that provides these functions.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)