Let's say I want to return JSON such as:
{
"Name" : "Fred Smith",
"Age" :
null}
NOT: "Age" :
"null"BUT: "Age" :
nullprocedure xyz(Sender: TRtcConnection);
Var
Srv:TRtcDataServer absolute Sender;
Result: TRtcRecord;
Begin
..
Result := TRtcRecord.Create;
Try
Result.AsString['Name'] := 'Fred Smith';
Result.
['Age'] :=
Srv.WriteEx(Result.toJSONEx);
Finally
FreeAndNil(Result);
End;
...
End
How would I get value of "Age" to be just plain null
Thanks, Jeff