public static JsonObject zkFetchJson(CuratorFramework client, Watcher watcher, String path) { byte[] x = zkFetch(client, watcher, path); if ( x == null ) return null; if ( x.length == 0 ) return null; return JSONX.fromBytes(x); }
public static JsonObject zkFetchJson(CuratorFramework client, Watcher watcher, String path) { byte[] x = zkFetch(client, watcher, path); if ( x == null ) return null; if ( x.length == 0 ) return null; return JSONX.fromBytes(x); }