Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
prakanth97 committed Apr 2, 2024
1 parent 18a8490 commit 2d28654
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ballerina/json_api.bal
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public isolated function toJson(anydata v)

# Represent the options that can be used to modify the behaviour of the projection.
#
# + allowDataProjection - enable or disable projection
# + nilAsOptionalField - If true, nil values will be treated as optional fields in the projection.
# + absentAsNilableType - If true, absent fields will be treated as nilable types in the projection.
public type Options record {
boolean nilAsOptionalField = false;
boolean absentAsNilableType = false;
Expand Down

0 comments on commit 2d28654

Please sign in to comment.