Ability to serialize/deserialize unstructured data
See original GitHub issueDescribe the problem you’d like to solve
Sometimes I need to be able to break the glass and serialize/deserialize YAML without having well-structured POJOs/KOJOs.
Describe the solution you’d like
I’d like a canonical “vanilla” representation of YAML. It does not have to implement all YAML features (e.g., SnakeYAML chokes on tags in its vanilla codec implementation, and I’d be fine with that behavior). It could be a codec for YamlNode
or Any
or a new class created for this purpose.
This would bring it in line with other languages’ YAML implementations such as Python’s and Ruby’s.
Describe alternatives you’ve considered
A combination of SnakeYAML and Moshi.
Additional context
My context is also multi-document YAML streams from Kubernetes, just like #54 's case.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Deserialization of untrusted data - OWASP Foundation
An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the non-transient data should be. This...
Read more >Big Data Patterns | Mechanisms | Serialization Engine
A serialization engine provides the ability to serialize and deserialize data in a Big Data platform. In Big Data platforms, serialization is required...
Read more >Serialization and Deserialization of JSON Data - C# Corner
We use the DataContractJsonSerializer class to serialize a type instance to a JSON string and deserialize the JSON string to a type instance....
Read more >What is serialization and how does it work? - Hazelcast
Serialization is the process of converting a data object into a series of bytes that saves the state of the object in an...
Read more >Data Serialization - Devopedia
Data serialization is the process of converting data objects present in complex data structures into a byte stream for storage, transfer and distribution ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m happy with @kitterion 's solution. Thanks for keeping this open despite me not finding time to work on it.
Great. It’s not pressing for me so I don’t know exactly when I can get to it, but I’d be happy to try to work on it if you want to keep this ticket open for a bit.
On Thu, Jan 20, 2022, 3:54 AM Charles Korn @.***> wrote: