hobj:serialize

LuaFAR for Editor

hobj:serialize


str = hobj:serialize ()

Parameters:
  none

Returns:
  str: string

Description:
  - The method serializes the "history object" into a string.

  - Only "Data" field of the hobj is saved.
    - Within it, values of the following types are saved:
      numbers, strings, booleans and tables (recursively).
    - Not saved: functions, coroutines and userdatas.
    - Not saved: metatable relations.