Beware that this code doesn't deal with exception scenarios, like uneven number of elements ("b/r": "1/1/0") or if some elements in the hash are not in this form (e.g. { "b/r/n": "1/1/0", "hey": "you"})
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.