We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dfd38a commit 9cb3db1Copy full SHA for 9cb3db1
README.md
@@ -231,6 +231,11 @@ deserialization.
231
This attribute can be used on records, even when they are embedded in other
232
types.
233
234
+> **Note:** For the Melange PPX, ignoring extra fields is the default behavior -
235
+> you don't need to explicitly add the `[@json.allow_extra_fields]` attribute.
236
+> The attribute is primarily useful for the native PPX where strict field
237
+> checking is the default.
238
+
239
**Example 1: Ignoring extra fields in records**
240
241
```ocaml
0 commit comments