Skip to content

Commit a943cc5

Browse files
committed
.
1 parent 6711e0f commit a943cc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/unpack.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,8 @@ def downloadSimple(url: String,
848848
readTimeout: Int)
849849
```
850850

851-
And later, perhaps in the interest of code sharing, replace it with a method `unpack`ing a `
852-
case class:
851+
And later, perhaps in the interest of code sharing, replace it with a method `unpack`ing a
852+
`case class`:
853853

854854
```scala
855855
case class RequestConfig(url: String,
@@ -955,7 +955,7 @@ write(Outer("abc", Inner(Inner2(7)))) // {"msg": "abc", "i": 7}
955955
```
956956

957957
Like `unpack`, `@flatten` can be used recursively to flatten out
958-
a multi-layer `case class` tree into a single flat JSON object, as shown above
958+
a multi-layer `case class` tree into a single flat JSON object, as shown above.
959959

960960
### MainArg's `case class` embedding
961961

0 commit comments

Comments
 (0)