-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom JsonConverter implementation #446
Comments
Sorry, I'm not 100% clear what you're saying with this - |
Hi @cskardon So i am using this custom JsonConverter (found the code from your answer on stackoverflow and i altered it so thanks for this. I want to have a dictionary<string, int> on my c# model object and transform it to properties on the Node.
but that results in a readJson() is working fine as that just to return the Object (typed) and i use JsonConvert.DeserializeObject as the serializer input par is null so no problem. |
Hi,
I am getting an error when this cypher is executed which without a custom JsonConverter worked fine.
The error:
Type mismatch for parameter 'variable': expected Map, Node or Relationship but was List<T> (line 2, column 9 (offset: 38)) "SET q = $variable" ^
The writeJSON implementation that executes fine:
The TestProp property on class Variable:
The text was updated successfully, but these errors were encountered: