Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Serialize an object with Directives, start and end marks (---, ...)? #829

Closed
Develeon64 opened this issue Aug 2, 2023 · 2 comments

Comments

@Develeon64
Copy link

Hello there!
Thanks for your library. I really enjoy using it, because it's very streight forward and works very simple :)

I only miss one information: How can I serialize to full document with maximum information (version specification, document start and end) like

%YAML 1.2
---
<serialized things here>
...
\n
@EdwardCooke
Copy link
Collaborator

I don’t think that is in the library. You would need to add that to the resulting string after serializing your object.

@EdwardCooke
Copy link
Collaborator

Since I gave an answer and I haven't heard back, I'm going to close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants