class YoBitPricesDeserializer extends JsonDeserializer<YoBitPairs> {

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


      Map<CurrencyPair, YoBitPair> priceMap = new HashMap<>();
      ObjectCodec oc = jp.getCodec();
      JsonNode node = oc.readTree(jp);
      if (node.isObject()) {
        Iterator<Entry<String, JsonNode>> priceEntryIter = node.fields();
        while (priceEntryIter.hasNext()) {
          Entry<String, JsonNode> priceEntryNode = priceEntryIter.next();

          String pairString = priceEntryNode.getKey();
          CurrencyPair pair = YoBitAdapters.adaptCurrencyPair(pairString);

          JsonNode priceNode = priceEntryNode.getValue();
          YoBitPair price = YoBitPairDeserializer.deserializeFromNode(priceNode);

          priceMap.put(pair, price);
        }
      }

      return new YoBitPairs(priceMap);
    
<no_super_class>