Skip to content

Commit 518753a

Browse files
committed
Members include properties and non-void parameterless functions.
1 parent ae22911 commit 518753a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ Your implementation should pass both `testAddressFieldsToJson()` and
2424
## 2. `membersToJson`
2525

2626
Implement the extension function `membersToJson` (in `MembersToJson.kt`) using
27-
the Kotlin Reflection API. The `toJson` function must be recursive.
27+
the Kotlin Reflection API.
28+
This function encodes properties and non-void parameterless functions.
29+
The `toJson` function must be recursive.
2830

2931
- Members can be annotated with `ToJsonPropName` to replace the member's name
3032
with the specified JSON property name.

0 commit comments

Comments
 (0)