Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

How to traver all json key? #235

Open
yilaguan opened this issue Aug 24, 2016 · 1 comment
Open

How to traver all json key? #235

yilaguan opened this issue Aug 24, 2016 · 1 comment

Comments

@yilaguan
Copy link

Hi, I can not find a method in rapture.json to traver all json key, could you tell me?

@johannegger
Copy link

johannegger commented Sep 20, 2016

i guess you could just convert it to a Map[String,Json] and map it:

myJson.as[Map[String,Json]].map{ case (key,value) => ... }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants