Tagged articles
JSON parsing
20 articles · Page 1 of 1
This article details the full-stack implementation of SSE-based streaming for an AI assistant, covering protocol design (delta/done/error events), backend challenges (ThreadLocal, Retrofit @Streaming, JSON incremental parsing), frontend fetch/ReadableStream handling, and Nginx deployment fixes for buffering and timeouts.
AI chatJSON parsingNGINX
0 likes · 15 min read


TonyBaiSep 16, 2026 · Backend Development
This article chronicles the 14-year evolution of Go's encoding/json standard library, detailing how backward compatibility constraints prevented fixing known flaws, the rise of third-party high-performance alternatives, and the eventual creation of encoding/json/v2 in Go 1.27 with a dual-package architecture that preserves v1 behavior while enabling modern defaults and performance gains.
GoGo 1.27JSON parsing
0 likes · 86 min read

This article explains how to simplify handling deeply nested JSON responses in Spring Boot by creating a custom @JsonPath annotation that leverages JsonPath expressions, allowing one‑line extraction, filtering, and modification of JSON data directly in controller method parameters.
Argument ResolverCustom AnnotationJSON parsing
0 likes · 10 min read

A four‑month investigation revealed that Jackson’s default object‑mapper consumed over 60% of CPU time during order‑submission requests, causing 900 ms latency; switching to Jackson’s streaming API reduced average response time from 912 ms to 28 ms, cut GC pauses, and increased throughput eight‑fold, while introducing readability and validation trade‑offs.
JSON parsingJacksonJava
0 likes · 8 min read

This tutorial demonstrates how to use Jackson's JsonNode within a Spring Boot 3 environment to parse dynamic JSON, access and modify fields, convert nodes to POJOs, traverse the tree, and perform path‑based queries, providing complete code examples for each operation.
JSON parsingJacksonJava
0 likes · 8 min read

This article examines the challenges of using FastJson, FastJson2, Gson, and Kotlinx-serialization to parse Kotlin data classes in Android, explains why crashes occur due to reflection and null-safety issues, and provides step-by-step solutions—including code modifications, ProGuard rules, and library alternatives—to achieve reliable JSON handling.
AndroidFastjsonJSON parsing
0 likes · 20 min read

This article introduces cJSON, a tiny open‑source C library designed for embedded systems, explains its core features, shows how to create, parse, and manipulate JSON data on microcontrollers, and provides practical code examples for configuration management, command handling, and data logging.
C libraryConfiguration ManagementJSON parsing
0 likes · 7 min read

This tutorial demonstrates adding JsonPath to a Spring Boot project, using DSL‑style expressions to extract authors, titles, counts and filtered data from a sample JSON payload, and shows how to drive the extraction dynamically via configurable mappings with fastjson and hutool.
DSLFastjsonHutool
0 likes · 7 min read

This article explains how to use Go to parse the JSON output of the RabbitMQ cluster_status command, defines matching Go structs, and demonstrates extracting key cluster information such as node lists, feature flags, listeners, and version details.
GoJSON parsingRabbitMQ
0 likes · 6 min read

This tutorial demonstrates how to configure a SpringBoot application to repeatedly call a third‑party HTTP API, parse the returned JSON with FastJSON, and process each data item concurrently using a fixed thread pool initialized in a scheduled task.
FastjsonHTTPJSON parsing
0 likes · 5 min read

This article analyzes why FastJson, Gson, and Kotlinx‑serialization encounter crashes or incorrect handling when parsing Kotlin data classes in Android, explains the root causes such as missing no‑arg constructors and null‑safety issues, and provides concrete code fixes, ProGuard rules, and a unified wrapper API for reliable JSON processing.
AndroidFastjsonGson
0 likes · 20 min read

This article explains Groovy’s def keyword as a mutable, untyped variable, shows how it differs from Java’s var, demonstrates dynamic reassignment, and provides a practical JSON‑to‑object conversion example that simplifies code while leveraging IntelliJ’s type inference.
GroovyIntelliJJSON parsing
0 likes · 5 min read

This article explains Groovy’s def keyword as a dynamic, mutable type that lets variables change their actual object type at runtime, compares it with Java’s var, and demonstrates practical JSON‑to‑object conversion using def to simplify code.
GroovyJSON parsingdef
0 likes · 5 min read

This article describes how the Tongtian Tower team built an end‑to‑end design‑draft auto‑recognition system that parses Sketch JSON, converts it into a floor‑building DSL, and enables designers and operators to generate and fine‑tune floor layouts with up to 40% higher efficiency.
JSON parsingUI Generationdesign automation
0 likes · 9 min read

This article evaluates Alibaba's FastJson library by comparing its parsing speed, Maven popularity, and issue count against Jackson and Gson, presenting benchmark results, highlighting a critical bug in timestamp handling, and concluding with a recommendation to prefer Jackson for most Java projects.
FastjsonGsonJSON parsing
0 likes · 7 min read

This article examines Alibaba's FastJson library, benchmarking its speed against Jackson and Gson, analyzing its limited adoption, exposing unresolved issues, and ultimately recommending a shift to more widely supported JSON parsers for Java projects.
FastjsonGsonJSON parsing
0 likes · 5 min read

This article examines FastJson’s claim of speed by benchmarking it against Jackson and Gson, analyzes test results, discusses its popularity, highlights critical bugs in its timestamp handling, and ultimately recommends abandoning FastJson in favor of more widely adopted JSON libraries.
FastjsonGsonJSON parsing
0 likes · 8 min read

The article introduces Alibaba's FastJson library, presents a benchmark showing it is only modestly faster than Jackson, discusses its limited popularity and numerous unresolved issues, and concludes that projects should prefer Jackson and gradually drop FastJson in favor of more reliable JSON parsers.
FastjsonGsonJSON parsing
0 likes · 7 min read

The article explains the 0x00 FastJSON vulnerability discovered in September 2019, how the \x escape handling leads to out‑of‑memory errors, the affected versions, recommended patch versions, a timeline of events, and provides reference links for further investigation.
JSON parsingJavaOOM vulnerability
0 likes · 4 min read

This article explores Swift's memory model and pointer mechanics, explains how HandyJSON converts JSON to class instances without runtime support, demonstrates MemoryLayout utilities, and shows practical techniques for modifying struct and class properties directly in memory.
JSON parsingMemory LayoutSWIFT
0 likes · 17 min read
