Skip to content
Permalink
Browse files

Add link to Json.deepMerge in doc for JsonObject.deepMerge

  • Loading branch information...
bastewart authored and travisbrown committed Sep 30, 2019
1 parent 4d0bd3a commit 1f28a82d94a2db422e8e68494f149834b0f84347
Showing with 2 additions and 0 deletions.
  1. +2 −0 modules/core/shared/src/main/scala/io/circe/JsonObject.scala
@@ -172,6 +172,8 @@ sealed abstract class JsonObject extends Serializable {
* Objects are merged by key, values from the argument JSON take
* precedence over values from this JSON. Nested objects are
* recursed.
*
* See [[Json.deepMerge]] for behavior of merging values that are not objects.
*/
def deepMerge(that: JsonObject): JsonObject =
toIterable.foldLeft(that) {

0 comments on commit 1f28a82

Please sign in to comment.
You can’t perform that action at this time.