I'm not sure I really understand your question(s).
"Get color by name?"
"Get all colors?"
Could you supply a little more context as to what you are trying to achieve with spray-json?
Cheers,
Mathias
---
mat...@spray.cc
http://www.spray.cc
yes, I agree.
Having such examples would be a nice addition to the spray / spray-json documentation.
We'd be extremely happy if you (or someone else) would be able to contribute them...
If you supply a first cut we might be able to pick it up from there.
Cheers,
Mathias
---
mat...@spray.cc
http://www.spray.cc