spray / spray-json

A lightweight, clean and simple JSON implementation in Scala
Apache License 2.0
972 stars 190 forks source link

Json Format for java.util.UUID #243

Open supersnager opened 6 years ago

supersnager commented 6 years ago

Hi, UUID type is used very often in json (json-rpc etc), so i think that it will be good to have formater for UUID as standard method in DefaultJsonProtocol. I can do pull request with it, but i don't know which place in code will be good for it. I think that this formatter could be in trait StandardFormats and named UUIDFormat. Is it good idea?

jrudolph commented 6 years ago

Yep, sounds good. Please go ahead with a PR and we can discuss details. (that is, if you are still interested, so sorry for the delay)

supersnager commented 6 years ago

Nice, im still interested. I'll back to this topic next week.