SuperObject.Delphi
SuperObject.Delphi copied to clipboard
Support for JSON object bigger than Max(Integer)
Since the size of the json string is stored in an integer JSON object cannot support big data. It would be better to use NativeInt as it is used as the size type in the latest Delphi versions.
See the definition of TSuperArray member FSize: https://github.com/pult/SuperObject.Delphi/blob/6c886fec89fbc32d1aaa95ea7d4ccd3650c2256b/Lib/superobject.pas#L526
TSuperArray = class({+}TInterfacedObject{+.}, ISuperArray)
private
FArray: PSuperObjectArray;
FLength: Integer;
FSize: Integer;
...