diff options
author | Performant Data <performantdata@users.noreply.github.com> | 2017-07-23 00:48:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-23 00:48:29 -0700 |
commit | 2fbee3fd1c1e44d0182cbb9f5a90d04b07f930e5 (patch) | |
tree | d8d0f86629bcf3713628c57a7f79bb55070455f1 /README.markdown | |
parent | 3c09a9ca5cfd7c2e4a6846ad76e30733fb8e245c (diff) | |
download | spray-json-2fbee3fd1c1e44d0182cbb9f5a90d04b07f930e5.tar.gz spray-json-2fbee3fd1c1e44d0182cbb9f5a90d04b07f930e5.tar.bz2 spray-json-2fbee3fd1c1e44d0182cbb9f5a90d04b07f930e5.zip |
document how unboxed classes should be handled
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index a8a7d9d..04eec14 100644 --- a/README.markdown +++ b/README.markdown @@ -238,7 +238,7 @@ val bal = Money("USD", 100) can be handled as above with `jsonFormatX`, etc. It may be preferable, however, to serialize such instances without object boxing: as `"USD 100"` instead of `{"currency":"USD","amount":100}`. -This requires +This requires explicit (de)serialization logic: ```scala implicit object MoneyFormat extends JsonFormat[Money] { |