json-parser

Open-source projects categorized as json-parser

Top 23 json-parser Open-Source Projects

  • json

    JSON for Modern C++

  • Project mention: Learn Modern C++ | news.ycombinator.com | 2023-12-26

    I have not done a "desktop" program in 25+ years and never using C++ (or C), since then I'm mostly a web developer (PHP,Elixir, JS, Kotlin etc).

    I'm currently doing a C++ audio plugin with the Juce framework.

    This website has been a good resource, alongside https://www.learncpp.com

    But I was actually close to give up before using those two things:

    - https://github.com/nlohmann/json : my plugin use a json api backend and the Juce json implementation is atrocious (apparently because of being born in previous c++ version), but this library is GREAT.

    - ChatGPT 4. I'm not sure I would have "succeeded" without it, at least not in a reasonable time frame. ChatGPT 3.5 is slow and does not give good results for my use case but 4 is impressive. And I use in a very dumb way, just posing question in the web UI. I probably could have it directly in MSVC?

    Also I must say, for all its flaws, I have a renewed appreciation for doing UI on the web ;)

  • fastjson

    FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.

  • 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.

    InfluxDB logo
  • SwiftyJSON

    The better way to deal with JSON data in Swift.

  • FlatBuffers

    FlatBuffers: Memory Efficient Serialization Library

  • Project mention: FlatBuffers – an efficient cross platform serialization library for many langs | news.ycombinator.com | 2023-09-18
  • simdjson

    Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks

  • Project mention: Tips on adding JSON output to your command line utility. (2021) | news.ycombinator.com | 2024-04-20

    It's also supported by simdjson [0] (which has a lot of language bindings [1]):

    > Multithreaded processing of gigantic Newline-Delimited JSON (ndjson) and related formats at 3.5 GB/s

    [0] https://simdjson.org/

    [0] https://github.com/simdjson/simdjson?tab=readme-ov-file#bind...

  • GJSON

    Get JSON values quickly - JSON parser for Go

  • Project mention: Rob Pike: Gobs of data (2011) | news.ycombinator.com | 2023-12-04

    Someone made a benchmark of serialization libraries in go [1], and I was surprised to see gobs is one of the slowest ones, specially for decoding. I suspect part of the reason is that the API doesn't not allow reusing decoders [2]. From my explorations it seems like both JSON [3], message-pack [4] and CBOR [5] are better alternatives.

    By the way, in Go there are a like a million JSON encoders because a lot of things in the std library are not really coded for maximum performance but more for easy of usage, it seems. Perhaps this is the right balance for certain things (ex: the http library, see [6]).

    There are also a bunch of libraries that allow you to modify a JSON file "in place", without having to fully deserialize into structs (ex: GJSON/SJSON [7] [8]). This sounds very convenient and more efficient that fully de/serializing if we just need to change the data a little.

    --

    1: https://github.com/alecthomas/go_serialization_benchmarks

    2: https://github.com/golang/go/issues/29766#issuecomment-45492...

    --

    3: https://github.com/goccy/go-json

    4: https://github.com/vmihailenco/msgpack

    5: https://github.com/fxamacker/cbor

    --

    6: https://github.com/valyala/fasthttp#faq

    --

    7: https://github.com/tidwall/gjson

    8: https://github.com/tidwall/sjson

  • jsoniter

    A high-performance 100% compatible drop-in replacement of "encoding/json" (by json-iterator)

  • Project mention: Handling high-traffic HTTP requests with JSON payloads | /r/golang | 2023-12-07

    Since most of the time would be spent decoding json, you could try to cut this time using https://github.com/bytedance/sonic or https://github.com/json-iterator/go, both are drop-in replacements for the stdlib, sonic is faster.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • jsonparser

    One of the fastest alternative JSON parser for Go that does not require schema

  • Project mention: Introducing astjson: Transform and Merge JSON Objects with Unmatched Speed in Go | dev.to | 2023-11-29

    In this article, I will introduce you to a new package called astjson that I have been working on for the last couple of weeks. It is a Go package that allows you to transform and merge JSON objects with unmatched speed. It is based on the jsonparser package by buger aka Leonid Bugaev and extends it with the ability to transform and merge JSON objects at unparalleled performance.

  • easyjson

    Fast JSON serializer for golang.

  • fastjson2

    🚄 FASTJSON2 is a Java JSON library with excellent performance.

  • Project mention: FLaNK Stack Weekly for 20 June 2023 | dev.to | 2023-06-20
  • Oj

    Optimized JSON

  • Project mention: What JSON Serializers are you using with rails ? | /r/rails | 2023-11-29

    Hi guys, I know that Hotwire is the sh*t in rails nowadays, but if you were to build an API with rails, which serializer would you use ? I have my eyes on jsonapi-serializer with oj , but I am not sure if that is the best option nowadays. The jsonapi-serializer repo is a bit confusing, regarding which version should I use, same for ActiveModelSerializer to be honest.

  • fastjson

    Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection (by valyala)

  • Project mention: What's the best way to unmarshall this nested JSON? | /r/golang | 2023-06-29

    I’ve used fastjson when unmarshalling to Structs is inconvenient. https://github.com/valyala/fastjson

  • poison

    An incredibly fast, pure Elixir JSON library

  • simplejson

    simplejson is a simple, fast, extensible JSON encoder/decoder for Python

  • jsoniter

    jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go (by json-iterator)

  • parson

    Lightweight JSON library written in C.

  • xml-js

    Converter utility between XML text and Javascript object / JSON text.

  • JSON Machine

    Efficient, easy-to-use, and fast PHP JSON stream parser

  • spray-json

    A lightweight, clean and simple JSON implementation in Scala

  • jsoncons

    A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON

  • Project mention: Experience using crow as web server | /r/cpp | 2023-11-06

    On the other hand, I'd like to bring in the json library of my choice, e.g. https://github.com/nlohmann/json or https://github.com/danielaparker/jsoncons. So I'd prefer the web server library provides as little as possible in the way of Json support, and certainly doesn't get in the way of using my library of choice. Similarly, I'd like to use my choice of automatic object serialization.

  • flatcc

    FlatBuffers Compiler and Library in C for C

  • jstream

    Streaming JSON parser for Go

  • argonaut

    Purely functional JSON parser and library in scala.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

json-parser related posts

  • Tips on adding JSON output to your command line utility. (2021)

    2 projects | news.ycombinator.com | 20 Apr 2024
  • 1BRC Merykitty's Magic SWAR: 8 Lines of Code Explained in 3k Words

    4 projects | news.ycombinator.com | 9 Mar 2024
  • Training great LLMs from ground zero in the wilderness as a startup

    3 projects | news.ycombinator.com | 6 Mar 2024
  • simdjson: Parsing Gigabytes of JSON per Second

    1 project | news.ycombinator.com | 23 Jan 2024
  • Simdjson: Parsing Gigabytes of JSON per Second

    1 project | news.ycombinator.com | 30 Nov 2023
  • What JSON Serializers are you using with rails ?

    2 projects | /r/rails | 29 Nov 2023
  • Introducing astjson: Transform and Merge JSON Objects with Unmatched Speed in Go

    3 projects | dev.to | 29 Nov 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 10 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 →

Index

What are some of the best open-source json-parser projects? This list will help you:

Project Stars
1 json 40,446
2 fastjson 25,635
3 SwiftyJSON 22,448
4 FlatBuffers 22,088
5 simdjson 18,409
6 GJSON 13,661
7 jsoniter 13,094
8 jsonparser 5,358
9 easyjson 4,354
10 fastjson2 3,442
11 Oj 3,102
12 fastjson 2,168
13 poison 1,996
14 simplejson 1,634
15 jsoniter 1,504
16 parson 1,307
17 xml-js 1,248
18 JSON Machine 1,021
19 spray-json 969
20 jsoncons 667
21 flatcc 618
22 jstream 553
23 argonaut 545

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