From 4e52675360b8f4826c4ebf63e7c0f1d6755c5298 Mon Sep 17 00:00:00 2001 From: prakanth <50439067+prakanth97@users.noreply.github.com> Date: Wed, 3 Apr 2024 12:00:09 +0530 Subject: [PATCH] Update documentation --- ballerina/json_api.bal | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ballerina/json_api.bal b/ballerina/json_api.bal index f6c165c..b3d17e1 100644 --- a/ballerina/json_api.bal +++ b/ballerina/json_api.bal @@ -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 = {}; };