Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
prakanth97 committed Apr 3, 2024
1 parent 9ec1cbc commit 4e52675
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ballerina/json_api.bal
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ 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.
# + allowDataProjection - Enable or disable projection
public type Options record {
record {
# If true, nil values will be considered as optional fields in the projection.
# If `true`, nil values will be considered as optional fields in the projection.
boolean nilAsOptionalField = false;
# If true, absent fields will be considered as nilable types in the projection.
# If `true`, absent fields will be considered as nilable types in the projection.
boolean absentAsNilableType = false;
}|false allowDataProjection = {};
};
Expand Down

0 comments on commit 4e52675

Please sign in to comment.