Skip to content

It's wrapper for JSON serializing, but it uses the word cereal. That's it.

Notifications You must be signed in to change notification settings

IanKnighton/Cerealizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cerealizer

Publish to GitHub Packages

I was sitting in a meeting one day with a person named "Jason" and someone made a comment about whether or not they were serialized, which then turned into a joke about cereal.

So in the course of a meeting I put together a wrapper on top of the Newtonsoft.Json JsonConvert class that keeps all of the same functionality, but changes the word to Cereal instead of Serial.

It really provides no value other than that.

Usage

You can either download the source and reference the Cerealizer.csproj file in your project or download it from the GitHub package manager.

dotnet add PROJECT package Cerealizer

Once you have it referenced, it's pretty straight forwared. You can pass or retrieve objects just like you would use Newtonsoft.

string serializedObject = JsonCerealizer.CerealizeObject(YourObject);

YourObject test = JsonCerealizer.Decerealize<YourObject>("serializedObject");

That's pretty much all there is to it.

About

It's wrapper for JSON serializing, but it uses the word cereal. That's it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages