binance-java-api icon indicating copy to clipboard operation
binance-java-api copied to clipboard

client.getCandlestickBars function is generating error in com.fasterxml.jackson.databind.deser.impl library..

Open SmartTraderBot opened this issue 3 years ago • 0 comments

com.fasterxml.jackson.databind.deser.impl;

in the function "" public Object deserialize(JsonParser p, DeserializationContext ctxt) ""

Object bean is generated unordered (properties of the class Candlestick),

but the ""SettableBeanProperty[] props"" is generated ordered alfabetically,

so,, when trying the function "" prop.deserializeAndSet(p, ctxt, bean);"" properties and values are mismaching and function try to set string value to Long and Long value to string...

I try to change @JsonPropertyOrder(alphabetic=true) of Candelstick class, but nothing changed...

Anybody has any idea????

Adsız

SmartTraderBot avatar May 16 '21 15:05 SmartTraderBot