@Test public void testJsonyaBadPathNull() { Navigator<MutableMap<Object, Object>> m = europeMap(); Assert.assertNull( m.at("europe", "spain", "barcelona").get() ); Assert.assertNull( m.root().at("europe").at("spain").at("barcelona").get() ); }
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);  }