TAdvMemo json styler error

The function ‘TAdvJSONMemoStyler.Format(s: string): string;’ in the unit ‘advmjson.pas’ throws an error when ‘AdvMemo1.Lines.LoadFromFile( xy.json )’ is executed if the content of the file ‘xy.json’ is empty. It’s about ‘s[i]’ for the loop ‘for i := 0 to Length(s) do’.

Thanks for reporting.
We'll have this fixed for the next update.