This library provides a JSON deserializer for the Athena. At the larger perspective, it decodes JSON having equal sign instead of colon into proper JSON.
Consider the following JSON having equal sign:
{
a = Singapore,
b = Some address in Singapore (Postal Code 123456)
}
The library will convert it into proper JSON:
{
"a": "Singapore",
"b": "Some address in Singapore (Postal Code 123456)"
}
- Install Package
Using Package Manager:Using .NET CLI:PM> Install-Package AthenaJsonDeserializer
> dotnet add-package AthenaJsonDeserializer
- Use the
AthenaJsonDeserializer
class to deserialize JSON string:or use thevar json = @"{ a = Singapore, b = Some address in Singapore (Postal Code 123456) }"; var deserializedJson = AthenaJsonDeserializer.Deserialize(json);
AthenaJsonDeserializer
extension method:var json = @"{ a = Singapore, b = Some address in Singapore (Postal Code 123456) }"; var deserializedJson = json.Deserialize();