Code example for JsonReader

0
 
	public JsonReader nodeGet(int nid, String fields)
			throws ServiceNotAvailableException, ClientProtocolException, 
			IOException { 
		String uri = mENDPOIN + "node/" + nid;
		JsonReader jsr = new JsonReader(callGet(uri));
		return jsr;
	} 
 
	public JsonReader taxonomyVocabGetTree(int vid)
			throws ServiceNotAvailableException, ClientProtocolException, 
			IOException { 
		return taxonomyVocabGetTree(vid, 0, 0);
	} 
 
	public JsonReader taxonomyVocabGetTree(int vid, int parent, int maxdepth)
			throws ServiceNotAvailableException, ClientProtocolException, 
			IOException { 
		String uri = mENDPOIN + "taxonomy_vocabulary/getTree";
		int size = 2;