collection VS JSON Machine

Compare collection vs JSON Machine and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
collection JSON Machine
4 4
1,361 1,019
0.8% -
6.5 5.9
10 days ago 6 days ago
PHP
Creative Commons Zero v1.0 Universal Apache License 2.0
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.

collection

Posts with mentions or reviews of collection. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-10.
  • Show HN: I Made a Visualization of MoMA Artists of 20 Century
    1 project | news.ycombinator.com | 24 Oct 2023
    I took the official dataset () from MoMA and visualized the artists who have at least one drawing in the museum's collection and lived in 20 century.

    The X axis represents the year of birth, Y — lifespan, size — count of works, color — gender.

    () https://github.com/MuseumofModernArt/collection/tree/master

  • Demo video for our WIP 'Virtual Gallery (VR)' Technology, 'Portico'
    1 project | /r/MuseumPros | 28 Nov 2022
    Portico takes published museum collection data and turns it into a virtual gallery/viewing room dynamically. This example is the first few items from the published MOMA collection ((https://github.com/MuseumofModernArt/collection).
  • 5 Best Public Datasets to Practice Your Data Analysis Skills
    4 projects | dev.to | 10 May 2022
    The collection includes two datasets - ‘Artist’ and ‘Artwork’ available in both CSV and JSON formats. The data can either be forked or downloaded directly from the GitHub page. However, the dataset has incomplete information and should only be used for research purposes. That is why it’s the perfect candidate as it resembles a real-world scenario where data is often missing.
  • Google Charts Dashboard: a Tutorial with an Artistic Touch of MoMA 🖼
    4 projects | dev.to | 21 Oct 2021
    On GitHub, MoMA publishes and periodically updates a public dataset which contains ~140,000 records, representing all of the works that have been accessioned into MoMA’s collection and cataloged in our database. It includes basic metadata for each work (e.g., title, artist, date made, medium, dimensions, and date of acquisition). This dataset is placed in the public domain using a CC0 License (so we're free to use it in this tutorial) and available in CSV and JSON formats.

JSON Machine

Posts with mentions or reviews of JSON Machine. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-25.
  • Handling big API request (2.5gb) without timeout
    2 projects | dev.to | 25 Aug 2022
    To handle this problem i've used "https://github.com/halaxa/json-machine" to decrease the memory usage and "https://github.com/spatie/async" to decrease the take taken for the "update process" to complete
  • Lazy JSON
    1 project | /r/laravel | 15 Jun 2021
    Under the hood, it uses JSON Machine as a lexer and parser.
    3 projects | /r/PHP | 21 May 2021
    Seems like the issue is still open ! https://github.com/halaxa/json-machine/issues/36
  • Is any one actually using PHP generators in their projects?
    9 projects | /r/PHP | 9 May 2021
    Yes. We used it heavily when processing large amounts of data from huge API responses. I like how the whole processing chain can be built on top of it, for example using nikic/iter. Generators are also the heart of a low-memory JSON parsing library halaxa/json-machine, which I maintain, and many other similar projects.

What are some alternatives?

When comparing collection and JSON Machine you can also consider the following projects:

map - PHP arrays and collections made easy

msgpack.php - A pure PHP implementation of the MessagePack serialization format / msgpack.org[PHP]

lazy-json - 🐼 Framework-agnostic package to load JSON of any dimension and from any source into Laravel lazy collections recursively.

Laminas Serializer - Serialize and deserialize PHP structures to a variety of representations

dflydev-dot-access-data - Given a deep data structure representing a configuration, access configuration by dot notation.

etl - PHP - ETL (Extract Transform Load) data processing library

php-caching-generator - A rewindable PHP Generator class that caches its generated values.

cube.js - 📊 Cube — The Semantic Layer for Building Data Applications

collection - A (memory) friendly, easy, lazy and modular collection class.

Fregata - Fregata - a PHP database migrator