Problem I need to provide a service (either a Windows Service or an Azure Worker Role) which will handle the […]
Tag: serialization
ConcurrentDictionary, Store Key and Compression
Problem So i have a ConcurrentDictionary<int, string> The “int” is merely the way i store the key, which i want […]
Data marshaling wrapper for a TCP server
Problem After a lot of research, I created this wrapper which I think fits very well to my needs. My […]
Hex string to Base64 in Haskell
Problem This is my take on the first challenge on the cryptopals crypto challenges list. I think that i made […]
Unity Static Singleton JSON Serialisation
Problem I have a static PlayerData singleton which stores all the data for the player (gold, upgrades, heroes etc) but […]
Helper class to change property of string when serializing for Json.Net
Problem Is there any way to simplify the following C# helper class to numerate a string for Json.Net? internal static […]
Deserializing Nested JSON Data with variable rootName to C# Class
Problem I am working with JSON API data in .NET6 and was having trouble de-serializing nested data that has a […]
Hex encoding and decoding of ASCII strings in VBA
Problem I needed to convert some Ascii text to binary in Hex format 0x00FF…. I’ve written an EncodeHex and a […]
Unity Static Singleton JSON Serialisation
Problem I have a static PlayerData singleton which stores all the data for the player (gold, upgrades, heroes etc) but […]
Classes to serialize departments and their employees
Problem I have many small but similar classes like these: class DepartmentSerializer < Serializer self.root = false attributes :id, :name […]