Gremlinq / ExRam.Gremlinq

A .NET object-graph-mapper for Apache TinkerPop™ Gremlin enabled databases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Can we set camelCase serialization?

matteobortolazzo opened this issue · comments

Hi,

I tried to find documentation, especially around configuration (g.ConfigureEnvironment).

My DB is using camel case properties, but with Gremlinq new objects are created with pascal case, ignoring both JsonProperty and JsonPropertyName.

Is there anything I can do about it?

Thanks a lot

PS: this library is far better than the alternatives! 🙂

You can find an example in a unit test here on how to configure serialization of labels, also using camel case.

Thanks!!