JsonMapper VS Serializer

Compare JsonMapper vs Serializer and see what are their differences.

JsonMapper

Map nested JSON structures onto PHP classes (by cweiske)

Serializer

Library for (de-)serializing data of any complexity (supports JSON, and XML) (by schmittjoh)
Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • talent.io - Download talent.io’s Tech Salary Report
JsonMapper Serializer
1 6
1,428 2,223
- -
0.0 6.7
6 months ago 7 days ago
PHP PHP
OpenSSL License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

JsonMapper

Posts with mentions or reviews of JsonMapper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-16.

Serializer

Posts with mentions or reviews of Serializer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-28.
  • Array -> Entity
    2 projects | reddit.com/r/symfony | 28 Apr 2022
    Or this popular alternative: https://jmsyst.com/libs/serializer
  • PHP libraries and tools
    36 projects | dev.to | 22 Sep 2021
    JMS Serializer: This library allows you to (de-)serialize data of any complexity. Currently, it supports XML and JSON.
  • Yet another Data-Transfer-Object package
    3 projects | reddit.com/r/PHP | 18 Jul 2021
    Only took a very brief look, but it looks nice. I like that the DTO class isn't required to extend anything, and that it seems to be for real DTOs used for actual transfer of data between systems - not 'local dtos'. It feels like this might be more comparable to something like schmittjoh/serializer rather than spatie/data-transfer-object.

What are some alternatives?

When comparing JsonMapper and Serializer you can also consider the following projects:

Fractal - Output complex, flexible, AJAX/RESTful data structures.

PHP Collections - General Purpose Collection Library for PHP

data-transfer-object - Data transfer objects with batteries included

CRUDlex - CRUDlex is an easy to use CRUD generator for Symfony 4 and Silex 2 which is great for auto generated admin pages

Arrayy - 🗃 Array manipulation library for PHP, called Arrayy!

Serializard - Flexible serializer encouraging good object design

Ardent - A Collections library for PHP.

Cake Collection - [READ-ONLY] Collection library in CakePHP. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

php-dto - A data transfer object inspired by Rust's serde

PINQ - PHP Integrated Query, a real LINQ library for PHP

YaLinqo - Yet Another LINQ to Objects for PHP [Simplified BSD]