-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
vinyl.toJSON
method?
#83
Comments
* Serializes vinyl File object into JSON * First pass. Seems to be working * No tests
Good idea. I want to test this against a logging stream to make sure the custom display is used over toJSON |
@Marak Still interested in this? I'd like it to support this ideally: Should we lose history here? Just stat/path/contents? LMK |
I can't remember the specifics, but it seemed to be having been working fine for my use-case. I needed to serialize the object in order to inspect its properties, not inspect it's binary contents or stream data. |
Hello.
Was wondering if there is any support for turning a vinyl
File
into a JSON object? I couldn't seem to find anything.Obviously I can write a simple serialization method, but I was wondering if it exists anywhere else in the tool-chain. If not, would you want to add
File.toJSON
to core?The text was updated successfully, but these errors were encountered: