APISonar


com.arangodb.ArangoDB.util

> com > arangodb > ArangoDB > util
com APIs arangodb APIs ArangoDB APIs util APIs

Example 1
private ArangoDB arangoDB;

  private String mapToJson(Map<String, ByteIterator> values) {
    VPackBuilder builder = new VPackBuilder().add(ValueType.OBJECT);
    for (Map.Entry<String, ByteIterator> entry : values.entrySet()) {
      builder.add(entry.getKey(), byteIteratorToString(entry.getValue()));
    }
    builder.close();
    return arangoDB.util().deserialize(builder.slice(), String.class);
  }