Boxlang 1.x Stable Released
BoxLang : A Modern Dynamic JVM Language
LogoLogo
Ctrlk
APIDocsDownloadTrySourceSupport
  • Introduction
  • Getting Started
    • Overview
    • Installation
    • Running BoxLang
    • BoxLang Cloud Servers
    • IDE & Tooling
    • Maven Integration
    • Runtime Configuration
  • BoxLang Language
    • Program Structure
    • Syntax & Semantics
    • Classes & O.O.
    • Reference
      • API Docs
      • Lexical Elements
      • Types
      • Built-in Functions
        • array
        • async
        • binary
        • cache
        • cli
        • conversion
        • decision
        • encryption
        • format
        • i18n
        • io
        • java
        • jdbc
        • list
        • math
        • query
        • runtime
        • scheduler
        • string
        • struct
        • system
          • ApplicationRestart
          • ApplicationStartTime
          • ApplicationStop
          • BoxAnnounce
          • BoxAnnounceAsync
          • BoxModuleReload
          • BoxRegisterInterceptionPoints
          • BoxRegisterInterceptor
          • BoxRegisterRequestInterceptor
          • BoxUnregisterInterceptor
          • BoxUnregisterRequestInterceptor
          • CallStackGet
          • CreateGUID
          • CreateObject
          • CreateUUID
          • DE
          • DebugBoxContexts
          • Dump
          • Duplicate
          • echo
          • EncodeForHTML
          • GetApplicationMetadata
          • GetBaseTagData
          • GetBaseTagList
          • GetBaseTemplatePath
          • GetBoxContext
          • GetBoxRuntime
          • GetBoxVersionInfo
          • GetClassMetadata
          • GetComponentList
          • GetContextRoot
          • GetCurrentTemplatePath
          • GetFileFromPath
          • GetFunctionCalledName
          • GetFunctionList
          • GetModuleInfo
          • GetModuleList
          • GetRequestClassLoader
          • GetSemver
          • GetSystemSetting
          • GetTempDirectory
          • GetTickCount
          • htmlEditFormat
          • IIF
          • Invoke
          • IsInstanceOf
          • JavaCast
          • ObjectDeserialize
          • ObjectSerialize
          • PagePoolClear
          • Print
          • Println
          • RunThreadInContext
          • SessionInvalidate
          • SessionRotate
          • SessionStartTime
          • Sleep
          • SystemCacheClear
          • SystemExecute
          • SystemOutput
          • Throw
          • Trace
          • URLDecode
          • URLEncodedFormat
          • writeDump
          • WriteLog
          • WriteOutput
        • temporal
        • type
        • xml
        • zip
      • Components
      • Exceptions
  • BoxLang Framework
    • BoxLang+
    • Application.bx
    • Async Programming
    • Components
    • Caching
    • File Handling
    • JDBC & Databases
    • Java Interop
    • Interceptors
    • HTTP/S Calls
    • SOAP Web Services
    • Server-Sent Events (SSE)
    • Modules
  • Extra Credit
    • Testing
    • MVC
    • Dependency Injection
Powered by GitBook
On this page
Edit
  1. BoxLang Language
  2. Reference
  3. Built-in Functions
  4. system

ObjectSerialize

Serialize an object to file or convert it to binary format using Java Serialization

Method Signature

ObjectSerialize(object=[any], file=[string])

Arguments

Argument
Type
Required
Description
Default

object

any

true

The object to serialize

file

string

false

The file path to save the serialized object to, if not provided, the binary representation of the object is returned

Examples

Related

  • ApplicationRestart

  • ApplicationStartTime

  • ApplicationStop

  • BoxAnnounce

  • BoxAnnounceAsync

  • BoxModuleReload

  • BoxRegisterInterceptionPoints

  • BoxRegisterInterceptor

  • BoxRegisterRequestInterceptor

  • BoxUnregisterInterceptor

  • BoxUnregisterRequestInterceptor

  • CallStackGet

  • CreateGUID

  • CreateObject

  • CreateUUID

  • DE

  • DebugBoxContexts

  • Dump

  • Duplicate

  • echo

  • EncodeForHTML

  • GetApplicationMetadata

  • GetBaseTagData

  • GetBaseTagList

  • GetBaseTemplatePath

  • GetBoxContext

  • GetBoxRuntime

  • GetBoxVersionInfo

  • GetClassMetadata

  • GetComponentList

  • GetContextRoot

  • GetCurrentTemplatePath

  • GetFileFromPath

  • GetFunctionCalledName

  • GetFunctionList

  • GetModuleInfo

  • GetModuleList

  • GetRequestClassLoader

  • GetSemver

  • GetSystemSetting

  • GetTempDirectory

  • GetTickCount

  • htmlEditFormat

  • IIF

  • Invoke

  • IsInstanceOf

  • JavaCast

  • ObjectDeserialize

  • PagePoolClear

  • Print

  • Println

  • RunThreadInContext

  • SessionInvalidate

  • SessionRotate

  • SessionStartTime

  • Sleep

  • SystemCacheClear

  • SystemExecute

  • SystemOutput

  • Throw

  • Trace

  • URLDecode

  • URLEncodedFormat

  • writeDump

  • WriteLog

  • WriteOutput

PreviousObjectDeserializeNextPagePoolClear

Last updated 5 months ago

Was this helpful?

LogoLogo

Social Media

  • X
  • FaceBook
  • LinkedIn
  • YouTube

Bug Tracking

  • Runtimes
  • IDE
  • Modules

Support

  • Professional
  • Community
  • Slack

Copyright & Register Trademark by Ortus Solutions, Corp

  • Method Signature
  • Arguments
  • Examples
  • Related

Was this helpful?