aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2018-03-10 14:15:52 -0800
committerJakob Odersky <jakob@odersky.com>2018-03-10 14:15:52 -0800
commitef278ebe0ca134784d8afc00241a20fcc55ff3d0 (patch)
treea5e2714e69d08447e6d60f918ff658b646c33168
parentf9fabf9caa1a04a1ebd89c17581321f22f38e986 (diff)
downloadspray-json-derivation-ef278ebe0ca134784d8afc00241a20fcc55ff3d0.tar.gz
spray-json-derivation-ef278ebe0ca134784d8afc00241a20fcc55ff3d0.tar.bz2
spray-json-derivation-ef278ebe0ca134784d8afc00241a20fcc55ff3d0.zip
Fix typos
-rw-r--r--README.md13
1 files changed, 8 insertions, 5 deletions
diff --git a/README.md b/README.md
index 0f5bc7d..8aabeeb 100644
--- a/README.md
+++ b/README.md
@@ -93,7 +93,7 @@ message. For example:
```scala
import spray.json._
-class X() // not that X is not a case class, hence a format cannot be derived
+class X() // note that X is not a case class, hence a format cannot be derived
case class Y(x: X)
case class Z(y: Y, w: Int)
@@ -108,7 +108,10 @@ object MyProtocol extends DefaultJsonProtocol with DerivedFormats {
### Implicit Derived Formats
-It is also possible to summon derived formats implicitly by mixing in `ImplicitDerivedFormats`instead of `DerivedFormats`. This makes it possible to use derived formats without explicitly creating them first:
+It is also possible to summon derived formats implicitly by mixing in
+`ImplicitDerivedFormats`instead of `DerivedFormats`. This makes it
+possible to use derived formats without explicitly creating them
+first:
```scala
import spray.json._
@@ -132,9 +135,9 @@ of drawbacks to consider:
2. Macros that enable format derivation are expanded at every
callsite. In other words, the compiler will try to create JSON
- formats at every point an implicit RootJsonFormat is required fo a
- case class. This can increase compile times and binary size if
- formats are required in many locations
+ formats at every point where an implicit `RootJsonFormat` is
+ required for a case class. This can increase compile times and
+ binary size if formats are required in many locations.
### Documentation