code: public static LazyElement parse(String str) throws LazyException{
  		int index=0;
  		while(index<str.length()){
  			char ch=str.charAt(index);
  			if(ch=='['){
  				return new LazyArray(str);
  			}
  			if(ch=='{'){
  				return new LazyObject(str);
  			}
  			index++;
  		}
  		throw new LazyException("The given string is not a JSON object or array");
  	}
docs: Parses a string and returns either a LazyObject or LazyArray
  
  @param str the source json data
  @return either a LazyObject or LazyArray instance
  @throws LazyException if the string could not be parsed