Saving an Object with YAML

I wrote this bit of code to help myself understand what’s happening when you create an object, save it to YAML, and then instantiate the object from YAML. Hopefully the code is clear enough to get my point across:

yaml code yaml results

Leave a Reply

Your email address will not be published. Required fields are marked *