question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SymbolFilterConverter: MaxNumberOrders serialize/deserialize property name mismatch

See original GitHub issue

This 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:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
JKorfcommented, May 14, 2020

Ah, yes it is handled by the Websocket4Net library used internally for websocket communication.

0reactions
ghostcommented, May 21, 2020

Thanks very much

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found