utahiosmac / Marshal

Marshaling the typeless wild west of [String: Any]
MIT License
697 stars 62 forks source link

Looking for example of how to marshal an object to json #141

Open woodmicha opened 5 years ago

woodmicha commented 5 years ago

Seems like the only examples I can find on Marshal are converting JSON into an object and not the other way. I'm assuming it's easy but perhaps I'm missing something.

Can you post a test or example of how to go from a marshaled object to a string of json?