Closed PavelPikat closed 8 years ago
@PavelPikat use Newtonsoft.Json.JsonPropertyAttribute
instead of ArangoDB.Client.Common.Newtonsoft.Json.JsonPropertyAttribute
Its because embedded json.net is not being used for the serialization anymore
@PavelPikat i refactored namespace of the embedded json.net so others that has used the embedded attributes get the compile error.
install latest version from nuget
@ra0o0f Thanks for quick response. It works now.
I declare my models with JsonProperty attribute like this:
It worked fine prior 0.7.4 - documents created in the database didn't have fields with nulls. But now all of the fields are created in the database, even if the value is null. It seems like these JsonProperty attributes are ignored.
I tried it with
bool?
andstring
and it doesn't work. But it does work withList<T>
though