@Test public void testJsonyaPushPop() { Navigator<MutableMap<Object, Object>> m = europeMap(); Assert.assertTrue(m.getFocusMap().containsKey("europe")); Assert.assertFalse(m.getFocusMap().containsKey("edinburgh")); m.push(); m.at("europe", "uk"); Assert.assertTrue(m.getFocusMap().containsKey("edinburgh")); Assert.assertFalse(m.getFocusMap().containsKey("europe")); m.pop(); Assert.assertTrue(m.getFocusMap().containsKey("europe")); Assert.assertFalse(m.getFocusMap().containsKey("edinburgh")); m.get("europe", "uk"); Assert.assertTrue(m.getFocusMap().containsKey("europe")); Assert.assertFalse(m.getFocusMap().containsKey("edinburgh")); }
public static Navigator<MutableMap<Object,Object>> at(Object ...pathSegments) { return newInstance().atArray(pathSegments); }
Jsonya { public static Navigator<MutableMap<Object,Object>> at(Object ...pathSegments) { return newInstance().atArray(pathSegments); } }
Jsonya { public static Navigator<MutableMap<Object,Object>> at(Object ...pathSegments) { return newInstance().atArray(pathSegments); } private  Jsonya(); }
Jsonya { public static Navigator<MutableMap<Object,Object>> at(Object ...pathSegments) { return newInstance().atArray(pathSegments); } private  Jsonya(); static Navigator<T> of(T map); static Navigator<T> of(Navigator<T> navigator); static Navigator<MutableMap<Object,Object>> newInstance(); static Navigator<MutableMap<Object,Object>> at(Object ...pathSegments); static Navigator<MutableMap<Object,Object>> newInstanceTranslating(Function<Object,Object> translator); static Navigator<MutableMap<Object,Object>> newInstanceLiteral(); static Navigator<MutableMap<Object,Object>> newInstancePrimitive(); static Object convertToJsonPrimitive(Object x); static boolean isJsonPrimitiveCompatible(Object x); static String render(Object focus); }
Jsonya { public static Navigator<MutableMap<Object,Object>> at(Object ...pathSegments) { return newInstance().atArray(pathSegments); } private  Jsonya(); static Navigator<T> of(T map); static Navigator<T> of(Navigator<T> navigator); static Navigator<MutableMap<Object,Object>> newInstance(); static Navigator<MutableMap<Object,Object>> at(Object ...pathSegments); static Navigator<MutableMap<Object,Object>> newInstanceTranslating(Function<Object,Object> translator); static Navigator<MutableMap<Object,Object>> newInstanceLiteral(); static Navigator<MutableMap<Object,Object>> newInstancePrimitive(); static Object convertToJsonPrimitive(Object x); static boolean isJsonPrimitiveCompatible(Object x); static String render(Object focus);  }