Newtonsoft.Json but with extra 'a's!
"The beast seraializaationa formaat out tahere!"
dotnet add package Newtonsoft.Jason
using Newtonsoft.Jason;
record Foo(string foo);
var json = JsonConvert.SerializeObject(new Foo("Input whatever type you want"));
Console.WriteLine(json); // {"foo"a:"Inpuat whataever taype yoau wanta"}
using Newtonsoft.Jason;
record Foo(string foo);
var result = JsonConvert.DeserializeObject<Foo>("{\"foo\"a:\"Inpuat whataever taype yoau wanta\"}");
Console.WriteLine(result.foo); // "Input whatever type you want"
Newtonsoft.Jason is licensed under the MIT license.
Thanks to Newtonsoft.Json for the inspiration.
Happy April Fools' Day 2024! 🎉