Tag

deserialization

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 31, 2025 · Backend Development

Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips

This article explores Jackson's ObjectMapper in Spring Boot 3, covering basic serialization/deserialization, converting between objects, JSON strings, JsonNode, and collections, custom serializers/deserializers, handling unknown fields, and performance tuning with the Afterburner module and JMH benchmarks.

JSONJacksonJava
0 likes · 12 min read
Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips
Java Captain
Java Captain
May 16, 2025 · Backend Development

Open-Source Java JSON Framework with Reflection-Based Serialization and Deserialization

This article introduces an open‑source Java JSON framework that uses recursive parsing and reflection to serialize and deserialize objects without third‑party libraries, supports generic and array types, and provides extensible features such as custom annotations, JsonPath, and HTML‑safe output.

JSONJavaOpenSource
0 likes · 14 min read
Open-Source Java JSON Framework with Reflection-Based Serialization and Deserialization
Test Development Learning Exchange
Test Development Learning Exchange
May 10, 2025 · Fundamentals

Using Python's json Module: Serialization, Deserialization, and Common Operations

This article introduces Python's built‑in json module, explaining how to serialize Python objects to JSON strings and files, deserialize JSON back to Python, and demonstrates common tasks such as pretty‑printing, handling Unicode, working with lists and nested structures, custom encoders, and network responses.

Data HandlingJSONPython
0 likes · 8 min read
Using Python's json Module: Serialization, Deserialization, and Common Operations
macrozheng
macrozheng
Apr 28, 2025 · Backend Development

Master Java Serialization: Common Pitfalls and Best Practices

This article explains the fundamentals of Java object serialization, compares legacy and modern formats, outlines how to choose the right method, and details common issues such as static fields, transient modifiers, serialVersionUID mismatches, inheritance quirks, and custom serialization techniques with clear code examples.

BackendExternalizableJava
0 likes · 15 min read
Master Java Serialization: Common Pitfalls and Best Practices
Test Development Learning Exchange
Test Development Learning Exchange
Mar 21, 2025 · Fundamentals

Understanding Python's pickle Module: Serialization and Deserialization

Python's pickle module provides a simple way to serialize and deserialize complex objects such as lists, dictionaries, and class instances, allowing them to be saved to or loaded from files or byte streams, with examples of pickling, unpickling, using dumps/loads, protocol versions, and security considerations.

Data PersistencePicklePython
0 likes · 4 min read
Understanding Python's pickle Module: Serialization and Deserialization
macrozheng
macrozheng
Mar 17, 2025 · Backend Development

Master Java Serialization: Common Pitfalls and Best Practices

This article explains the fundamentals of Java serialization and deserialization, compares various serialization formats, demonstrates code examples, highlights common issues such as static, transient fields and serialVersionUID mismatches, and shows how to implement custom serialization with the Externalizable interface.

BackendExternalizableJava
0 likes · 16 min read
Master Java Serialization: Common Pitfalls and Best Practices
Java Tech Enthusiast
Java Tech Enthusiast
Dec 15, 2024 · Fundamentals

Java Serialization and Deserialization: Concepts and Practices

The article explains serialization and deserialization fundamentals, highlights pitfalls such as ambiguous binary streams and platform‑dependent field sizes, then compares Java’s native ObjectOutputStream, JSON libraries, Hessian binary RPC, and Google’s Protobuf, guiding readers to select the appropriate format based on performance, payload size, and type‑safety needs.

HessianJSONJava
0 likes · 8 min read
Java Serialization and Deserialization: Concepts and Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 24, 2024 · Mobile Development

Best Practices for JSON Serialization and Deserialization in Flutter Using json_serializable

This article explains the fundamentals of JSON serialization and deserialization in Flutter, compares manual and automated approaches, introduces the json_serializable library and its annotations, demonstrates generic handling, custom converters, and tooling to streamline model generation for robust mobile app development.

DartFlutterJSON
0 likes · 23 min read
Best Practices for JSON Serialization and Deserialization in Flutter Using json_serializable
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 22, 2024 · Backend Development

Master Jackson Annotations in Spring Boot 3.2.5: From @JsonAnyGetter to Custom Annotations

This tutorial explores Jackson's rich annotation set in Spring Boot 3.2.5, demonstrating how to serialize and deserialize JSON with built‑in annotations like @JsonAnyGetter, @JsonGetter, @JsonPropertyOrder, and @JsonIgnore, how to create custom annotations, and how to disable annotation processing for fine‑grained control.

AnnotationsCustom AnnotationJSON
0 likes · 13 min read
Master Jackson Annotations in Spring Boot 3.2.5: From @JsonAnyGetter to Custom Annotations
Java Tech Enthusiast
Java Tech Enthusiast
Aug 14, 2024 · Backend Development

Customizing JSON Serialization and Deserialization in Spring Boot

In Spring Boot you can customize JSON request and response handling by annotating fields with @JsonSerialize/@JsonDeserialize, registering a global ObjectMapper module, adding a PropertyEditor via @ControllerAdvice, creating a custom HttpMessageConverter, or using AOP interception, selecting the approach that matches your project’s complexity.

AOPJSONJackson
0 likes · 7 min read
Customizing JSON Serialization and Deserialization in Spring Boot
Test Development Learning Exchange
Test Development Learning Exchange
Aug 9, 2024 · Backend Development

Custom JSON Encoder and Advanced Serialization Techniques in Python

This article demonstrates how to create custom JSON encoders, serialize and deserialize custom classes, handle circular references, and use various json.dumps parameters such as default, object_pairs_hook, allow_nan, indent, separators, and ensure_ascii to control JSON output in Python.

Serializationcustom-encoderdeserialization
0 likes · 7 min read
Custom JSON Encoder and Advanced Serialization Techniques in Python
Test Development Learning Exchange
Test Development Learning Exchange
Feb 19, 2024 · Backend Development

Using Python's json Module for Serialization, Deserialization, and API Testing

This article explains how to use Python's built‑in json module for serializing and deserializing data, demonstrates sending JSON payloads with the requests library, and covers advanced techniques such as data‑driven testing, JsonPath/JMESPath extraction, JSON Schema validation, and dynamic request body construction for API automation.

API TestingJSONPython
0 likes · 9 min read
Using Python's json Module for Serialization, Deserialization, and API Testing
Laravel Tech Community
Laravel Tech Community
Oct 29, 2023 · Information Security

Remote Code Execution Vulnerability in Apache ActiveMQ < 5.18.3 (Deserialization)

Apache ActiveMQ versions prior to 5.18.3 are vulnerable to a deserialization flaw that allows remote code execution via crafted OpenWire messages on port 61616, affecting various activemq-client and activemq-openwire-legacy artifacts, and can be mitigated by upgrading to 5.15.16, 5.16.7, 5.17.6, 5.18.3 or later.

Apache ActiveMQMessaging MiddlewareRemote Code Execution
0 likes · 3 min read
Remote Code Execution Vulnerability in Apache ActiveMQ < 5.18.3 (Deserialization)
Laravel Tech Community
Laravel Tech Community
Sep 20, 2023 · Information Security

Analysis of a ThinkPHP 6.0 Deserialization Exploit Chain via LeagueFlysystem Cached Storage

This article analyzes a ThinkPHP 6.0 deserialization exploit chain that leverages LeagueFlysystem's cached storage classes, detailing the sequence from __destruct to write, showing how controllable parameters enable arbitrary file writes and providing a proof‑of‑concept demonstration.

LeagueFlysystemPHPdeserialization
0 likes · 7 min read
Analysis of a ThinkPHP 6.0 Deserialization Exploit Chain via LeagueFlysystem Cached Storage
AntTech
AntTech
Apr 19, 2023 · Information Security

ODDFuzz: Discovering Java Deserialization Vulnerabilities via Structure‑Aware Directed Greybox Fuzzing

The paper presents ODDFuzz, a structure‑aware directed greybox fuzzing framework that combines lightweight static taint analysis with targeted fuzzing to efficiently discover previously unknown Java deserialization (ODD) vulnerabilities, achieving higher recall and precision than existing tools and uncovering six new CVE‑rated bugs in popular Java frameworks.

JavaODDFuzzdeserialization
0 likes · 19 min read
ODDFuzz: Discovering Java Deserialization Vulnerabilities via Structure‑Aware Directed Greybox Fuzzing
Laravel Tech Community
Laravel Tech Community
Feb 15, 2023 · Information Security

ThinkPHP Deserialization Vulnerability (CVE-2022-45982)

The ThinkPHP framework suffers from a deserialization vulnerability (CVE‑2022‑45982) affecting versions 6.0.0‑6.0.13 and 6.1.0‑6.1.1, where unsanitized user input passed to unserialize() can allow attackers to execute arbitrary system commands, and no official patch has been released yet.

CVE-2022-45982PHPThinkPHP
0 likes · 2 min read
ThinkPHP Deserialization Vulnerability (CVE-2022-45982)
ByteFE
ByteFE
Aug 22, 2022 · Backend Development

Comparison of JDK, Fastjson, and Hessian Serialization Protocols and Practical Hessian Serialization

This article examines the reasons for using serialization, compares three serialization protocols (JDK built‑in, Fastjson, and Hessian) with performance metrics, and provides a detailed Hessian serialization implementation, including class definitions, test results, hex analysis, and troubleshooting of common issues.

HessianJavaProtocol
0 likes · 12 min read
Comparison of JDK, Fastjson, and Hessian Serialization Protocols and Practical Hessian Serialization
IT Architects Alliance
IT Architects Alliance
Aug 21, 2022 · Fundamentals

Understanding Java Serialization, Deserialization, and serialVersionUID

This article explains Java object serialization and deserialization, why implementing Serializable and defining a serialVersionUID are necessary for persistence and network transfer, and demonstrates the impact of transient and static fields with complete code examples.

ExampleJavaSerialization
0 likes · 10 min read
Understanding Java Serialization, Deserialization, and serialVersionUID
DaTaobao Tech
DaTaobao Tech
Jun 24, 2022 · Backend Development

Random Fastjson Deserialization Failure Caused by Constructor Order

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.

BackendConstructorOrderDebugging
0 likes · 12 min read
Random Fastjson Deserialization Failure Caused by Constructor Order
IT Services Circle
IT Services Circle
Mar 5, 2022 · Backend Development

Understanding Generic Type Erasure and Fastjson Deserialization with TypeReference in Java

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.

JavaTypeReferencedeserialization
0 likes · 9 min read
Understanding Generic Type Erasure and Fastjson Deserialization with TypeReference in Java