apache / apache/fory

[debugtool] parsing the serialized bytes and show its binary structure in yaml format. And vice versa is also helpful.

Open
#1,727 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
4.5k
Forks
443
Avg merge
5h 59m
Merged PRs (30d)
77

Description

## Is your feature request related to a problem? Please describe.

I'm always frustrated when debugging serialized data because it's difficult to visualize the binary structure. Understanding the detailed binary layout and content of serialized bytes would greatly enhance debugging and development efficiency.

## Describe the solution you'd like

I would like a feature in the Fury debugtool component that can parse serialized bytes and display their binary structure in a human-readable YAML format (with depth control as a parameter). Additionally, the ability to convert the YAML representation back into the original binary format would be extremely helpful for verifying and testing changes during debugging. This bidirectional functionality would provide a robust tool for developers to work seamlessly with serialized data.

## Additional context

Implementing this feature would bridge the gap between serialized data and its human-readable representation, making it easier to inspect, debug, and validate serialized objects. It would be particularly useful for developers working with complex data serialization and deserialization processes, enabling them to make changes in YAML and convert them back to binary for testing purposes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.