spray-json
spray-json copied to clipboard
Field Name Custom RootJsonFormat
I must be missing something simple here...but if I create a custom RootJsonFormat for a specific "type/generic" how do I get the field name associated to a value during the read method?
I have a simple custom RootJsonFormat for Enumeration types and want to use the field name in some error handling during "read".