Skip to content

JSONBuffer

class JSONBuffer < MemoryBuffer

JSON file buffer.

Member Functions

Name Description
load Load into memory buffer from a JSON file.
save Save memory buffer to a JSON file.

Member Function Details

load

function load(path:String)

Load into memory buffer from a JSON file.

  • path: Path of the file.

save

function save(path:String)

Save memory buffer to a JSON file.

  • path: Path of the file.