ExRam.Gremlinq
ExRam.Gremlinq copied to clipboard
Newtonsoft PropertyName Attribute Support
Does Gremlinq support use of Newtonsoft PropertyName attributes?
I'm using CosmosDb with the AspNet nuget packages on the latest version 11
I can't find anything in the samples or documentation and when I attempt to create a simple Vertex it appears to ignore the property names I've defined in the Newtonsoft attributes. This means when I the object is viewed in the Cosmos Graph viewer a property name would be "Value" instead of the defined "value"
Attempting to do the same. But unsuccessful so far.
Created a sample Git Repo with latest version 12.0.0-preview.1077
found below:
- My Class definition: Mammal.cs with Newtonsoft attributes
- My Program.cs file: Program.cs with
UseNewtonsoftJson()
What I need is to use my own serialization / deserialization logic instead of relying on NewtonSoft:
- My custom serializer:
JsonHelper.cs
There is no support for Newtonsoft attributes. This might help though.