class GateioPublicOrderDeserializer extends JsonDeserializer<GateioPublicOrder> {

    @Override
    public GateioPublicOrder deserialize(JsonParser jp, DeserializationContext ctxt)
        throws IOException, JsonProcessingException {<FILL_FUNCTION_BODY>}
  }


      final ObjectCodec oc = jp.getCodec();
      final JsonNode tickerNode = oc.readTree(jp);

      final BigDecimal price = new BigDecimal(tickerNode.path(0).asText());
      final BigDecimal amount = new BigDecimal(tickerNode.path(1).asText());

      return new GateioPublicOrder(price, amount);
    
<no_super_class>