Re: Help with Json array parsing

2014-07-15 Thread SK
gException: Expected collection but got JInt(20) for root JInt(20) and mapping int[][int, int] thanks -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Help-with-Json-array-parsing-tp9807p9820.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Help with Json array parsing

2014-07-15 Thread SK
val min_vals = (json \ "obj" \ "min").extract[Array[Int]] (name, min_vals) } ) Thanks for your help. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Help-with-Json-array-parsing-tp9807.html Sent from the Apache Spark User List mailing list archive at Nabble.com.