is there a way to parse JSON in a simple way witho...
# announcements
b
is there a way to parse JSON in a simple way without pulling in gson/jackson or other libs?
n
Try klaxon, it's pure kotlin (I think)
b
that's a lib as well, right?
currently writing a gradle task in buildSrc and I'd like to avoid pulling in deps
n
Ahh well.. Then you could still look at it, after all its json parsing in kotlin, there gotta be something to learn
I thought you were trying to avoid jvm libs at first
d
parsing json isn't trivial, so you'll probably want to use a library
k
h
moshi is nice and simple. it’s tiny as well.
1
p
if it's gradle task I would stick to groovy like @carkral said
b
thank you 🙂
k
@panwrona I'm actually @karelpeeters simple smile
p
hah sorry mate 😅