Skip to content

Commit ab766b2

Browse files
author
Winni Neessen
authored
Merge pull request #9 from wneessen/update-readme
Fix typo and improve readability in README.md
2 parents 7bddca9 + bc61189 commit ab766b2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ SPDX-License-Identifier: CC0-1.0
1414

1515
niljson provides a simple and efficient way to handle nullable JSON fields during the (un-)marshalling process.
1616
In JSON, it's common to encounter fields that can be `null`, but handling these fields in Go can be cumbersome,
17-
especially when dealing with primitive types like `int`, `float64`, `bool`. These types can all be either `0` (as value)
18-
or `null`. In Go you can always work with pointers but these, of course, can lead to unhandled nil pointer dereferences.
17+
especially when dealing with primitive types like `int`, `float64`, and `bool`. These types can all be either `0`
18+
(as a value) or `null`. In Go you can always work with pointers, but these can lead to unhandled nil
19+
pointer dereferences.
1920

20-
**niljaon** addresses this challenge by offering a set of types that can seamlessly handle `null` values during
21+
**niljson** addresses this challenge by offering a set of types that can seamlessly handle `null` values during
2122
unmarshalling, allowing your Go applications to work with JSON data more naturally and with fewer boilerplate
2223
checks for `nil` values.
2324

0 commit comments

Comments
 (0)