Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Scala 3.0.0-M1. Parent comment
`ujson.Value` is in chapter 8.1.1. of your excellent Hands-On Scala book I've bought.
Turns out for arbitrary JSON you can do this:
val rawData = read[ujson.Value](JSONstring)
val todoData = read[Seq[Map[String,ujson.Value]]](todoJSON)
There are no comments on this comment yet.
`ujson.Value` is in chapter 8.1.1. of your excellent Hands-On Scala book I've bought.
Turns out for arbitrary JSON you can do this:
For JSON where you know most of the structure but have mixed types for object values: https://jsonplaceholder.typicode.com/todos