SymbolFilterConverter: MaxNumberOrders serialize/deserialize property name mismatch
See original GitHub issueThis relates to #312
SymbolFilterConverter: MaxNumberOrders serialize/deserialize property name mismatch:
//deserialize
case SymbolFilterType.MaxNumberOrders:
result = new BinanceSymbolMaxOrdersFilter
{
MaxNumberOrders = (int)obj["maxNumOrders"]
};
break;
//serialize
case SymbolFilterType.MaxNumberOrders:
var orderFilter = (BinanceSymbolMaxOrdersFilter)filter;
writer.WritePropertyName("limit");
writer.WriteValue(orderFilter.MaxNumberOrders);
break;
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
c# - How can I change property names when serializing ...
I would like to change the property names to be something different (say, change 'foo' to 'bar'). In the Json.net documentation, under ' ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, yes it is handled by the Websocket4Net library used internally for websocket communication.
Thanks very much