Skip to content

FCL-JSON: string params can be 'const'

Some of these methods are 'protected' but not 'virtual' so no problem to change the param?

	<fpjson.pp>: #5
		< 657>:     function GetQWords(AName : String): QWord;
		< 659>:     procedure SetQWords(AName : String; AValue: QWord);
		<1510>:   Procedure W(T : String);
		<3222>: function TJSONObject.GetQWords(AName : String): QWord;
		<3238>: procedure TJSONObject.SetQWords(AName : String; AValue: QWord);
	<fpjsonrtti.pp>: #2
		< 155>:     Function ExtractDateTime(S : String): TDateTime;
		< 383>: function TJSONDeStreamer.ExtractDateTime(S: String): TDateTime;
	<json2yaml.pp>: #4
		<  43>:     Function Indent(S :String): Integer;
		<  82>: function TJSONToYaml.Indent(S: String): Integer;
	<fpjsonapply.pp>: #2
		<  59>:     procedure SaveDestJSON(aFileName : string);
		< 204>: procedure TJSONApplier.SaveDestJSON(aFileName: string);
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information