Hi guys - I’m using `moshi` in my app and I need t...
# squarelibraries
w
Hi guys - I’m using
moshi
in my app and I need to deserialize an escaped json string. I want to do this in a
@FromJson
adapter, but I’m not so sure how to do that. e.g. the raw json i have to deserialize looks something like this where the
metadata
is an escaped json string. so i want to make an adapter for the
metadata
object specifically
Copy code
{
  "time_zone": "America/New_York",
  "metadata": "{\"foo\":\"bar\"}"
}