Tagged articles
Fastjson
88 articles · Page 1 of 1
The article details a critical RCE flaw in Fastjson 1.x versions, explains why the vulnerability is easily exploitable, examines community backlash and double standards, and offers concrete mitigation steps while urging a responsible open‑source mindset.
FastjsonJavaRCE
0 likes · 9 min read

A newly discovered gadget‑free RCE in Fastjson 1.2.83 targets Spring Boot executable fat‑JARs, has already been seen in the wild, and can be mitigated by enabling SafeMode, tightening outbound HTTP, and migrating to Fastjson2.
FastjsonJavaRCE
0 likes · 9 min read

Fastjson 1.x (versions 1.2.66‑1.2.83) contains a CVSS 9.8 remote‑code‑execution flaw that works with default settings, was disclosed in July 2026, and sparked heated community debate, while the library had already been unmaintained since 2024 and official guidance now recommends migration to Fastjson 2.x or enabling SafeMode.
FastjsonJavaRCE
0 likes · 9 min read

Security researchers disclosed a remote code execution flaw in fastjson 1.2.66‑1.2.83 that bypasses autoType, exploits @JSONType with Spring Boot’s LaunchedURLClassLoader, and works on JDK 8, providing detailed payloads, proof‑of‑concept scripts, detection tools, and mitigation recommendations.
DetectionFastjsonJSON
0 likes · 9 min read

FastJSON is a high‑performance PHP 8.3+ JSON extension that serves as a drop‑in replacement for ext/json, offering namespaced fastjson_* APIs, full compatibility with json_last_error, and delivering up to six‑fold speed gains in encoding, decoding, and validation while detailing installation steps, supported flags, memory trade‑offs, and benchmark results.
FastjsonJSONPHP
0 likes · 7 min read

The article recounts a production incident where adding a trivial log statement caused a FastJSON NullPointerException, then explains the underlying serialization mechanism, the role of ASM-generated serializers, the methods invoked during serialization, and provides best‑practice guidelines to avoid similar bugs.
ASMFastjsonSerialization
0 likes · 8 min read

JSONPath offers a concise, XPath‑like syntax for extracting data from complex JSON structures, and this guide shows how to integrate it into Spring Boot, compare FastJSON, Jackson, and Gson implementations, and provides practical code examples, advanced configurations, and selection advice for Java projects.
FastjsonGsonJSONPath
0 likes · 13 min read

This chapter provides a detailed analysis of designing complex communication protocols, covering the StringProtocol format, a JSON-based protocol integrated with FastJSON, and strategies for efficiently handling large message bodies using session attachment and decoder state management, complete with code examples and best‑practice recommendations.
FastjsonJavaProtocol Design
0 likes · 12 min read

This article dissects Alibaba's Fastjson library, explaining its architecture, core modules, project structure, serialization and deserialization processes, ASM‑based performance optimizations, AutoType security mechanisms, and streaming API, while providing code examples and practical insights for Java developers.
FastjsonJavaSerialization
0 likes · 29 min read

This article investigates a NullPointerException caused by FastJSON invoking the isChinaName() method during serialization, explains the underlying JavaBeanSerializer mechanisms, demonstrates debugging steps with code examples, and provides best‑practice guidelines using @JSONField annotations to control serialization behavior.
FastjsonJSONFieldJava serialization
0 likes · 7 min read

An unexpected NullPointerException occurs when adding a simple log line to a Java DTO, revealing that FastJSON’s serialization process invokes methods like isChinaName(), getXxx(), and isXxx() via ASM-generated serializers, and the article explains the underlying mechanism, common pitfalls, and best‑practice annotations to avoid such bugs.
ASMAnnotationsFastjson
0 likes · 7 min read

This article explains why fastjson is being abandoned due to frequent security vulnerabilities, compares fastjson, Jackson, and Gson, and provides practical migration strategies, code examples, performance considerations, and common pitfalls to help teams safely switch to Gson in enterprise Java applications.
FastjsonGsonjson migration
0 likes · 18 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

A recent deployment added a log line that caused FastJSON to invoke unexpected methods during serialization, leading to a NullPointerException; this article reconstructs the scenario, analyzes the FastJSON internals, and offers best‑practice annotations to prevent similar bugs.
AnnotationsFastjsonJava
0 likes · 7 min read

This article provides a detailed tutorial on JSON fundamentals and demonstrates how to convert between Java objects, collections, maps, and JSON strings or objects using Alibaba's fastjson library, covering key‑value and array structures, code examples, and practical conversion scenarios.
BackendFastjsonJSON
0 likes · 11 min read

This article explains how different Java boolean naming conventions affect JSON serialization across fastjson, Gson, and Jackson, demonstrates the resulting inconsistencies with code examples, and recommends using a plain "success" field with an isSuccess getter to ensure reliable cross‑library behavior.
FastjsonGsonJSON
0 likes · 7 min read

This article analyzes a runtime NullPointerException caused by FastJSON serialization invoking the isChinaName() method, explains the underlying ASM-generated serializer, details how JavaBeanSerializer determines which getters and is‑methods are serialized, and proposes using @JSONField(serialize = false) to control the process.
ASMFastjsonJSONField
0 likes · 8 min read

The article explains why data desensitization is essential for enterprises, classifies common masking techniques, and provides concrete implementation guides for database, log, and output level masking in Java applications using MyBatis plugins and Fastjson filters, complete with sample code and configuration.
Backend SecurityFastjsonJava
0 likes · 12 min read

The author recounts a two‑day investigation of a widespread FastJson failure caused by a Kotlin lambda mistakenly assigned to an Object field, detailing the mixed‑language project background, the puzzling symptoms, step‑by‑step debugging, the root‑cause analysis, and the final resolution.
BackendFastjsonJava
0 likes · 11 min read

Java developers can parse JSON using six popular approaches—Jackson for high‑performance, annotation‑driven serialization; Gson for a lightweight, easy‑to‑use API; FastJSON for speed; JsonPath for XPath‑style nested extraction; org.json for simple utility; or manual parsing for full control—each suited to different performance and complexity needs.
FastjsonGsonJSON
0 likes · 9 min read

This article compares six popular Java JSON parsing approaches—Jackson, Gson, FastJSON, JsonPath, org.json, and manual parsing—detailing their features, code samples, advanced options, and pros and cons to help developers choose the right tool for their projects.
FastjsonGsonJSON
0 likes · 12 min read

This article explains why data desensitization is essential for modern enterprises, compares masking, obfuscation and encryption techniques, and provides step‑by‑step implementations for database, log, and output layers using MyBatis interceptors, Fastjson filters, and Spring MVC configuration.
FastjsonJavaMyBatis
0 likes · 13 min read

This article walks through the design and implementation of symmetric request/response encryption for a Spring Boot API, covering requirement analysis, data models, custom ControllerAdvice for decryption and encryption, serialization challenges with FastJson and Jackson, and final configuration to keep encrypted payloads consistent across Android, iOS, and H5 clients.
@ControllerAdviceAPI EncryptionFastjson
0 likes · 12 min read

The article details a senior architect's investigation of Fastjson problems, including a date format priority bug that behaved differently on Windows and Linux due to an outdated library version, and a circular reference serialization issue resolved by disabling specific serializer features, while offering broader insights on version management and feature control.
CircularReferenceFastjsonJava
0 likes · 13 min read

During a recent iteration, adding a simple log statement triggered a system exception because Fastjson automatically invoked a custom getter that returned null, leading to an NPE; the article details the root cause, the serialization process, and practical solutions to prevent similar issues.
BackendFastjsonJava
0 likes · 11 min read

The author recounts switching from Gson to Fastjson, encountering a date‑formatting bug that only appears on Linux due to an outdated Fastjson version, explores a circular‑reference $ref issue, and shares debugging steps, GitHub issue references, and practical fixes for reliable JSON serialization.
BackendFastjsonJSON Serialization
0 likes · 12 min read

Facing massive FullGC alarms due to an oversized in‑memory cache, we leveraged Java’s String.intern() via a custom fastjson deserializer and a rewritten HashMap to deduplicate low‑entropy strings, slashing heap usage by over 1 GB while preserving functionality.
Custom DeserializerFastjsonHashMap
0 likes · 7 min read

The article walks through a puzzling JSON deserialization failure in a Java filter using FastJSON, compares it with Gson and Jackson, discovers that hidden escape characters cause the error, and shows how unescaping the string resolves the issue.
FastjsonGsonJSON
0 likes · 9 min read

The author recounts a debugging saga with Alibaba's Fastjson library, detailing how a global date‑format setting failed on Linux, how an outdated Fastjson version caused the issue, and how circular‑reference detection with $ref can surprise developers, offering practical solutions and version recommendations.
FastjsonJSON SerializationJava
0 likes · 11 min read

A seemingly harmless log addition triggered a cascade of FastJSON serialization calls, leading to a NullPointerException caused by the isChinaName() method, and the article walks through the debugging process, explains the underlying serialization mechanics, and proposes a clean solution using @JSONField(serialize=false).
FastjsonJSONFieldJava serialization
0 likes · 8 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 different Java JSON libraries handle boolean getter naming, shows code examples of serialization results with fastjson, Gson, and Jackson, and recommends using a plain "success" field with an isSuccess() getter to avoid runtime bugs.
FastjsonGsonJSON Serialization
0 likes · 7 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 walks through a real‑world scenario of adding symmetric encryption to Spring MVC endpoints for Android, iOS and H5 clients, detailing the requirements, code implementation of request and response interceptors, serialization pitfalls with enums and LocalDateTime, and the final solution using Jackson's ObjectMapper to keep encrypted and non‑encrypted responses consistent.
@ControllerAdviceAPI SecurityFastjson
0 likes · 17 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 demonstrates how ASM is used to generate dynamic proxies with cglib and to create high‑performance JSON deserializers in Fastjson, providing code examples, explanation of the underlying bytecode generation, and practical tips for developers.
ASMCGLIBFastjson
0 likes · 8 min read

This article reviews a production incident caused by a simple log statement, reconstructs the scenario with a CountryDTO example, analyzes FastJson's ASM‑based serializer internals, explains which getter/is methods are invoked during serialization, and proposes annotation‑driven coding standards to avoid similar bugs.
AnnotationsFastjsonJSON
0 likes · 9 min read

This article analyzes a Java serialization issue caused by FastJSON invoking a getter on a null field, explains the underlying ASM‑based serializer generation, and provides best‑practice code examples and annotations to prevent similar bugs in backend development.
AnnotationsFastjsonJSON
0 likes · 8 min read

The article examines how Spring Boot handles circular reference serialization with Jackson and Fastjson, demonstrates the role of @ControllerAdvice for global exception capture, explains why Jackson may emit both 200 and 500 responses, and provides practical solutions using annotations and configuration.
BackendFastjsonGlobal Exception Handling
0 likes · 18 min read

The article walks through a real‑world FastJSON serialization failure caused by a newly added log statement, explains why FastJSON invokes certain getter methods during serialization, shows the ASM‑generated serializer internals, and proposes annotation‑based coding standards to avoid similar bugs.
ASMAnnotationsFastjson
0 likes · 9 min read

This article analyzes how adding Fastjson to a SpringBoot agent causes classloader conflicts that prevent GenericHttpMessageConverter from loading, explains the underlying parent‑delegation mechanism, and presents solutions such as using Maven Shade to rename packages or switching to a lightweight JSON library like Gson.
ClassLoaderDependency ConflictFastjson
0 likes · 16 min read

The article recounts a developer's experience with FastJson, detailing a date‑format configuration bug caused by an outdated library version, a $ref circular‑reference serialization issue, the debugging steps taken, and broader observations about FastJson's maintenance and feature defaults.
Backend DebuggingFastjsonJSON Serialization
0 likes · 10 min read

This article explains why Fastjson incorrectly renames boolean fields prefixed with "is" during serialization, demonstrates the problem with sample Java code, analyzes the underlying reflection logic, and provides two practical solutions: following Alibaba Java guidelines or using @JSONField annotations.
FastjsonJSON SerializationJava
0 likes · 9 min read

During a workflow form update, adding a new JSON attribute caused front‑end errors; the article investigates how JavaScript and Java (fastjson) handle control characters differently, presents experiments, code snippets, and offers practical recommendations to avoid similar JSON parsing issues.
FastjsonJSONJavaScript
0 likes · 10 min read

The article recounts a senior architect's investigation into FastJson's date formatting bug and circular reference handling, detailing version mismatches, GitHub issue tracking, feature flag usage, and lessons for backend developers on avoiding hidden serialization pitfalls.
FastjsonJSON SerializationJava
0 likes · 11 min read

This article recounts the author's real‑world debugging of FastJson, covering unexpected date‑format priority issues on Linux, version mismatches, circular‑reference detection quirks, and practical tips such as disabling specific SerializerFeatures, while also reflecting on the library’s maintenance and migration to FastJson2.
FastjsonJSON Serializationcircular reference
0 likes · 11 min read

A seemingly harmless log addition caused a NullPointerException during FastJson serialization, prompting a step‑by‑step investigation of the generated ASM serializer, JavaBeanSerializer workflow, getter detection rules, and practical code‑style guidelines to avoid similar pitfalls.
ASMBackendBest Practices
0 likes · 9 min read

This article examines common pitfalls when converting Java Beans to Map objects—such as type loss with JSON libraries and incorrect property name resolution in BeanMap utilities—and presents a robust solution using Dubbo's PojoUtils along with detailed code examples and analysis.
Bean to MapBeanUtilsDubbo
0 likes · 12 min read

This article benchmarks the serialization and deserialization performance of four popular Java JSON libraries—Gson, Fastjson, Jackson, and Json‑lib—using JMH, analyzes the results across different operation counts, and provides guidance on selecting the most suitable library for high‑performance applications.
FastjsonGsonJMH
0 likes · 11 min read

This article documents a month‑long effort to replace Fastjson with Gson in Java projects, analyzing security vulnerabilities, comparing performance and features of Fastjson, Jackson, and Gson, and providing detailed migration steps, code examples, and pitfalls to avoid for large‑scale backend systems.
FastjsonGsonJSON
0 likes · 21 min read

The article recounts a production incident where adding a single log line caused a FastJSON NullPointerException, then reconstructs the scenario, analyzes the JavaBeanSerializer source code, presents serialization flowcharts, demonstrates example code with various @JSONField and @JSONType cases, and proposes coding standards to avoid similar serialization pitfalls.
FastjsonJSONFieldJava serialization
0 likes · 9 min read

This article walks through implementing symmetric encryption for both request and response bodies in a Spring MVC project, covering requirement analysis, data model design, custom ControllerAdvice for decryption and encryption, serialization challenges with FastJson and Jackson, and final configuration to ensure consistent API output across Android, iOS, and H5 clients.
@ControllerAdviceFastjsonJackson
0 likes · 14 min read

A seemingly harmless log addition caused a FastJson alarm, leading to a deep dive into Java bean serialization, ASM‑generated serializers, method invocation rules, and best‑practice guidelines for clean, framework‑agnostic JSON handling in backend development.
FastjsonJSONJava
0 likes · 8 min read

The article recounts a production incident caused by a simple log addition, then analyzes FastJSON’s serialization process, explaining why methods like isChinaName() are invoked, how ASM-generated serializers work, and offers best‑practice guidelines using @JSONField(serialize = false) to control serialization.
ASMFastjsonJSONField
0 likes · 9 min read

This article analyzes a FastJSON serialization issue caused by an unexpected call to isChinaName(), explains the underlying JavaBeanSerializer workflow, demonstrates how ASM-generated serializers work, and proposes coding conventions using @JSONField to prevent unwanted method execution during JSON conversion.
FastjsonJSONFieldJava serialization
0 likes · 8 min read

The article explains that Fastjson sometimes throws a syntax‑error exception when deserializing a JSON list of StewardTipCategory objects because the JVM returns overloaded constructors in nondeterministic order, causing Fastjson to pick the wrong constructor; removing or renaming the ambiguous constructor fixes the issue.
BackendConstructorOrderFastjson
0 likes · 12 min read

This article recounts a developer's step‑by‑step investigation of an intermittent Fastjson generic‑type parsing error in a Java backend, detailing the initial symptom, debugging process, code examples, discovery of Fastjson’s cached generic handling bug, and the resolution by upgrading to version 1.2.33.
FastjsonJSONbug
0 likes · 10 min read

A newly discovered Fastjson vulnerability affecting versions up to 1.2.80 can bypass autoType restrictions, enabling remote attacks, and the advisory outlines the risk, affected versions, upgrade paths, safeMode hardening, the fastjson v2 migration, and none‑autotype alternatives to protect Java applications.
AutoTypeFastjsonJava
0 likes · 5 min read

Fastjson versions up to 1.2.80 contain a deserialization vulnerability that can bypass autoType restrictions, posing significant remote attack risk; users are advised to upgrade to the latest 1.2.83 release, enable safeMode or use the noneautotype builds, and consider migrating to Fastjson 2.0 for enhanced security.
FastjsonJava securityLibrary Upgrade
0 likes · 5 min read

Fastjson versions up to 1.2.80 contain a deserialization flaw that can bypass the default autoType restriction, but the issue is mitigated by safeMode; the Fastjson team has released patches, recommending upgrades to 1.2.83, enabling safeMode, or migrating to Fastjson v2 for enhanced security.
FastjsonJava securitySafeMode
0 likes · 4 min read

A critical deserialization flaw in Fastjson versions up to 1.2.80 allows attackers to bypass autoType restrictions and achieve remote code execution, affecting Spring Cloud Alibaba Sentinel users, with mitigation steps and version-specific fixes detailed for both open‑source and commercial releases.
CommercialFastjsonSpring Cloud Alibaba Sentinel
0 likes · 2 min read

This article chronicles a puzzling Fastjson bug that manifested intermittently in production, detailing the investigation steps, code examples, and the eventual discovery that an early Fastjson version mishandled generic type caching, which was fixed by upgrading the library.
FastjsonGeneric TypesJSON
0 likes · 11 min read

On May 14 the open‑source Fastjson library launched version 2.0.3, adding better compatibility with its 1.x line, native support for JDK 14 records, GraalVM native‑image compatibility, an improved extension mechanism, stronger JSONPath capabilities, Jackson annotation compatibility, and faster deserialization for heavily escaped JSON data.
BackendFastjsonGraalVM
0 likes · 2 min read

This article explains how Java's generic type erasure affects Fastjson deserialization, demonstrates common mistakes, and shows the correct way to deserialize generic fields using Fastjson's TypeReference, while also revealing the inner workings of TypeReference through reflection and anonymous classes.
FastjsonGenericsTypeReference
0 likes · 9 min read

This article explains Java's reflection mechanism, details how deserialization flaws in libraries like Apache Commons Collections and Fastjson allow attackers to craft malicious objects that trigger arbitrary command execution, and provides practical proof‑of‑concept steps and mitigation recommendations.
FastjsonJavaReflection
0 likes · 7 min read

This tutorial walks through using Fastjson to create, add, delete, retrieve, and manipulate JSON objects in Java, highlighting common pitfalls and showcasing advanced methods such as compute, computeIfAbsent, and custom iteration techniques.
FastjsonJSONJava
0 likes · 4 min read

This article demonstrates how to dynamically add custom methods to fastjson's JSONObject in Groovy by leveraging MetaClass and closures, providing code examples that simplify JSON traversal and output during API testing for developers.
DynamicMethodFastjsonGroovy
0 likes · 4 min read

This article analyzes three Fastjson deserialization exploit chains—JdbcRowSetImpl, TemplatesImpl, and BasicDataSource—detailing how crafted JSON payloads trigger JNDI lookups, load remote malicious bytecode, and ultimately achieve remote code execution without requiring special Fastjson features.
FastjsonJNDIJava
0 likes · 13 min read

This article explains the difference between FastJSON's getInteger and getIntValue methods, analyzes a common validation bug in a custom isRight() implementation, and provides corrected code examples and optional global switches for robust response handling in Java backend projects.
APIBackendBugFix
0 likes · 6 min read

The article examines Fastjson’s features, demonstrates basic usage, compares it with other Java JSON libraries, and explains why the author decided to abandon Fastjson due to its lower popularity, design shortcomings, numerous open issues, and a history of serious AutoType vulnerabilities.
FastjsonJSONJava
0 likes · 11 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, comparing its parsing speed and popularity against Jackson and Gson, presents benchmark results, highlights code defects and unresolved issues, and concludes with recommendations for using Jackson over FastJson in Java backend projects.
FastjsonGsonJackson
0 likes · 7 min read

This article explains why using fastjson's Feature.OrderedField caused a NoSuchFieldError during unit tests, demonstrates two methods—Maven dependency tree and runtime class location—to pinpoint the conflicting JAR, and shows how switching to Gson resolved the issue.
BackendFastjsonJava
0 likes · 4 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

The article explains a puzzling bug where a Groovy‑created object's toString becomes empty after fastjson serialization, traces the issue to Java access modifiers, demonstrates the problem with sample code and console output, and resolves it by adding a public modifier.
Access ModifiersFastjsonGroovy
0 likes · 3 min read

This tutorial explains how Spring Boot returns JSON using the default Jackson library, compares it with Alibaba's FastJson, demonstrates handling of null values, and shows how to encapsulate responses in a unified structure with status codes and messages for backend development.
FastjsonJSONJackson
0 likes · 12 min read

This article examines Fastjson’s AutoType feature, explains how its design leads to serious deserialization vulnerabilities across multiple versions, demonstrates exploit techniques using crafted @type payloads, and provides practical mitigation steps such as enabling safeMode and upgrading to the latest release.
AutoTypeFastjsonJava
0 likes · 17 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

Tencent Cloud Security reports that Fastjson versions up to 1.2.68 contain a high‑risk remote code execution vulnerability exploitable via the autotype feature, allowing attackers to gain server system privileges, and recommends immediate updates, enabling SafeMode, or replacing the library with alternatives such as Jackson‑databind or Gson.
FastjsonJavaSafeMode
0 likes · 3 min read

The article details the high‑severity Fastjson remote code execution vulnerability discovered on May 28 2020, describing its background, risk assessment, affected versions (≤ 1.2.68), recommended temporary mitigation using SafeMode, a timeline of events, and reference links for further information.
FastjsonRCEpatch
0 likes · 3 min read

On May 28, 2020, 360CERT reported a high‑severity remote code execution flaw in Alibaba’s Fastjson library (versions ≤1.2.68) that bypasses autotype restrictions, affecting many assets, and provided temporary mitigation steps and upgrade recommendations to safeguard systems.
CVEFastjsonJava
0 likes · 3 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 examines Alibaba's FastJson library, presenting performance tests against Jackson and Gson, revealing modest speed gains, low adoption in Maven, numerous unresolved issues, and ultimately recommending developers switch to Jackson for JSON processing in Java projects.
FastjsonGsonJSON
0 likes · 5 min read

fastjson 1.2.68 introduces a safeMode configuration that disables autoType, adds an autoType blacklist, supports GeoJSON, and fixes several bugs including JSONObject conversion issues, jsonpath .max/.min handling, and Map.Entry generics, while providing detailed release notes for developers.
FastjsonGeoJSONJSON
0 likes · 3 min read

Fastjson 1.2.66, a maintenance release, introduces security hardening, an AutoType blacklist, and a series of bug fixes ranging from BeanToArray errors to Kotlin generic handling, while also adding support for Queue deserialization and enhanced date parsing.
FastjsonJSONJava
0 likes · 3 min read

This article introduces JSON basics, explains the Fastjson library from Alibaba, outlines its key features, and provides practical Java code examples for parsing, serializing, and converting between JSON strings, objects, arrays, maps, lists, and beans using Fastjson’s API.
FastjsonJSONJava
0 likes · 6 min read

Using JMH, this article benchmarks the serialization and deserialization performance of four popular Java JSON libraries—Gson, Fastjson, Jackson, and Json-lib—by testing various scenarios with a complex Person model, analyzing results, and providing guidance on selecting the most suitable library for high‑performance applications.
FastjsonGsonJMH
0 likes · 13 min read

JSONPath, analogous to XPath for XML, enables efficient querying of JSON data; this article introduces its concepts, demonstrates how to integrate Fastjson's JSONPath in Java, provides syntax examples, and showcases a simple code demonstration with expected output.
Data QueryFastjsonJSONPath
0 likes · 3 min read
