Skip to content

Commit 5cbaf09

Browse files
committed
Document last-value-wins behaviour for duplicate keys
1 parent 8ea3ddd commit 5cbaf09

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ json = Torque.encode_to_iodata(%{id: "abc"})
100100
| `true`, `false` | `true`, `false` |
101101
| `null` | `nil` |
102102

103+
For objects with duplicate keys, the last value wins.
104+
103105
### Elixir to JSON
104106

105107
| Elixir | JSON |

0 commit comments

Comments
 (0)