Answer the question
In order to leave comments, you need to log in
Why doesn't SuperObject work in Delphi 2010?
I connected the SuperObject
module to the project to parse JSON.
procedure TForm1.Button1Click(Sender: TObject);
var
Json: ISuperObject;
begin
Json := SO(Memo1.Text);
end;
[DCC Error] Generics.Collections.pas(1679): E2250 There is no overloaded version of 'Create' that can be called with these arguments
[DCC Fatal Error] Generics.Defaults.pas(111): F2063 Could not compile used unit 'Generics.Collections'
Answer the question
In order to leave comments, you need to log in
It says right there on the page.
var
obj: ISuperObject;
begin
obj := SO('{"foo": true}');
obj := TSuperObject.ParseString('{"foo": true}');
obj := TSuperObject.ParseStream(stream);
obj := TSuperObject.ParseFile(FileName);
end;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question