private Object _readJson ( String path ) throws ZooKeeperException { String jsonString = getData ( path ) ; try { return jsonString != null ? SerializationUtils . fromJsonString ( jsonString ) : null ; } catch ( Exception e ) { if ( e instanceof ZooKeeperException ) { throw ( ZooKeeperException ) e ; } else { throw new ZooKeeperException ( e ) ; } } }
Reads Json data from a node .