Unable to write formatting code for reading large JSON elements

6 views
Skip to first unread message

Zach Izham

unread,
Apr 5, 2016, 8:33:47 AM4/5/16
to spray.io User List
I am trying to parse an array of complex JSON elements.
I was able to write a parser for only one element but am not able to extend it to an an array which is what will be in a file.
Here is the github link to the problem: https://github.com/drizham/parse_json

This is the issue:
def read(value: JsValue) = {
val jso = value.asJsObject...
...
MyCaseClass(val1, val2......)
}

Been stuck on this for days now so any help is really appreciated, thanks
Reply all
Reply to author
Forward
0 new messages