Skip to content

Commit 7fbc465

Browse files
authored
Fix typo in docs (#303)
1 parent 737f6f4 commit 7fbc465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ So if your type subtypes `AbstractDict` and implements its interface, then JSON
315315

316316
Otherwise, the interface to satisfy `StructTypes.DictType()` for reading is:
317317

318-
* `MyType(x::Dict{Symbol, Any})`: implement a constructor that takes a `Dict{Symbol, Any}` of key-value pairs parsed from JSOn
318+
* `MyType(x::Dict{Symbol, Any})`: implement a constructor that takes a `Dict{Symbol, Any}` of key-value pairs parsed from JSON
319319
* `StructTypes.construct(::Type{MyType}, x::Dict; kw...)`: alternatively, you may overload the `StructTypes.construct` method for your type if defining a constructor is undesirable (or would cause other clashes or ambiguities)
320320

321321
The interface to satisfy for writing is:

0 commit comments

Comments
 (0)