Tagged articles
16 articles
Page 1 of 1
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 9, 2025 · Mobile Development

Why FastJson Crashes with Kotlin Data Classes and How to Fix It

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.

AndroidKotlinProGuard
0 likes · 20 min read
Why FastJson Crashes with Kotlin Data Classes and How to Fix It
Liangxu Linux
Liangxu Linux
May 12, 2025 · Fundamentals

Why cJSON Is the Ideal Lightweight JSON Parser for Resource‑Constrained MCUs

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 ManagementMicrocontroller
0 likes · 7 min read
Why cJSON Is the Ideal Lightweight JSON Parser for Resource‑Constrained MCUs
The Dominant Programmer
The Dominant Programmer
Apr 24, 2024 · Backend Development

How to Build a JSON DSL in Spring Boot with Jayway JsonPath

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.

DSLJsonPathSpring Boot
0 likes · 7 min read
How to Build a JSON DSL in Spring Boot with Jayway JsonPath
Sohu Tech Products
Sohu Tech Products
Jan 24, 2024 · Mobile Development

How to Fix FastJson Parsing Errors in Kotlin Android Apps

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.

AndroidGsonKotlin
0 likes · 20 min read
How to Fix FastJson Parsing Errors in Kotlin Android Apps
FunTester
FunTester
Apr 18, 2023 · Backend Development

How Groovy’s def Keyword Enables Dynamic Typing and Reduces Boilerplate

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.

GroovyIntelliJbackend-development
0 likes · 5 min read
How Groovy’s def Keyword Enables Dynamic Typing and Reduces Boilerplate
JD Retail Technology
JD Retail Technology
Sep 29, 2022 · Frontend Development

Design Draft Auto‑Recognition and Floor Generation in the Tongtian Tower Platform

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.

Design AutomationProduct DevelopmentUI Generation
0 likes · 9 min read
Design Draft Auto‑Recognition and Floor Generation in the Tongtian Tower Platform
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2021 · Backend Development

Is FastJson Really Faster? Benchmark vs Jackson and Gson

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.

GsonJacksonJava performance
0 likes · 7 min read
Is FastJson Really Faster? Benchmark vs Jackson and Gson
Java Backend Technology
Java Backend Technology
Jun 6, 2020 · Backend Development

Is FastJson Really Faster? Benchmark vs Jackson and Gson

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.

GsonJacksonfastjson
0 likes · 8 min read
Is FastJson Really Faster? Benchmark vs Jackson and Gson
Programmer DD
Programmer DD
Sep 7, 2019 · Information Security

Why FastJSON’s \x Escape Bug Causes OOM and How to Fix It

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.

OOM vulnerabilitySecurity Patchjava
0 likes · 4 min read
Why FastJSON’s \x Escape Bug Causes OOM and How to Fix It