Skip to content

Commit

Permalink
Tweak wording
Browse files Browse the repository at this point in the history
  • Loading branch information
briancavalier committed Dec 8, 2014
1 parent e97264d commit eb4bcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Creates a deep copy of `a`, which must be a valid JSON object/array/value.

**NOTE:** In jiff <= 0.6.x, `jiff.clone` incorrectly caused some ISO Date-formatted strings (eg `"2014-12-03T11:40:16.816Z"`) to be turned into `Date` objects. Thus, a clone *might not end up as an exact copy*.

That was fixed in 0.7.0: `jiff.clone` creates exact copies.
As of 0.7.0 `jiff.clone` creates exact copies.

If you have code that depended on that hidden deserialization, *it will break*. Date deserialization is now the responsibility of the party who parsed the JSON string from which the original object/array/etc. (ie, the one passed to `jiff.clone`) was created.

Expand Down

0 comments on commit eb4bcbd

Please sign in to comment.