jsonstreamingparser

A JSON streaming parser implementation in PHP. (by salsify)

Jsonstreamingparser Alternatives

Similar projects and alternatives to jsonstreamingparser

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better jsonstreamingparser alternative or higher similarity.

jsonstreamingparser reviews and mentions

Posts with mentions or reviews of jsonstreamingparser. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-10.
  • OPML Is Underrated
    2 projects | news.ycombinator.com | 10 Feb 2024
    Yes and no. You are correct about it being a document protocol, but it has long been set up as a big document protocol.

    Most XML libraries are structured to receive XML in packets, in asynchronous bursts. I don't know of many JSON handlers that can do the same. They do exist (I use one, in the backend of one of my projects[0]), but they aren't as common. XML has packet/async built into OS SDKs, but JSON tends to be "The Whole Nine Yards" handling.

    With Big Data/ML, I'm surprised that this is still a thing.

    [0] https://github.com/salsify/jsonstreamingparser

  • SBCL Help wanted: capturing big stdout (100M) and json parsing
    3 projects | /r/lisp | 7 Apr 2023
    In other languages, you generally wouldn't want to load super large JSON files all at once into memory as it uses a crapton of heap space, often creates far too many unnecessary objects, etc. Often you'd do a streaming parser of some kind, essentially discarding parts of the doc after you've processed them. For example (sorry for the dirty PHP link here, but it illustrates the concept): https://github.com/salsify/jsonstreamingparser/
  • PHP RFC: Working With Substrings
    1 project | /r/PHP | 21 Feb 2023
    There are few cases where such functions would be useful and could bring real impact. For example if you have to write custom JSON parser (and sometimes you have to - when working with large objects you simply could not have memory to store everything) you process strings often and byte by byte - then such improvements really could matter. And processing large json files is not uncommon task: https://github.com/salsify/jsonstreamingparser
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 5 May 2024
    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. Learn more →

Stats

Basic jsonstreamingparser repo stats
3
734
1.8
10 months ago

salsify/jsonstreamingparser is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of jsonstreamingparser is PHP.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com