@Test
public void testMapWithLinkObjectToJson() { // GH-120

    Map<String, Object> data = Maps.newHashMap();
    data.put("foo", Link.to(1));
    String json = Convert.mapToJson(data);
    Assert.assertEquals("{\"foo\":\"@1\"}", json);
}