Skip to content

Allow projects to save other types in variables#332

Closed
SharkPool-SP wants to merge 4 commits intoTurboWarp:developfrom
SharkPool-SP:patch-1
Closed

Allow projects to save other types in variables#332
SharkPool-SP wants to merge 4 commits intoTurboWarp:developfrom
SharkPool-SP:patch-1

Conversation

@SharkPool-SP
Copy link

@SharkPool-SP SharkPool-SP commented Mar 2, 2026

Proposed Changes

Introduces serializationOptions in runtime which control certain serialization aspects (could be expanded more).

Allows projects to save variables with types other than strings and numbers

Reason for Changes

Certain extensions with custom return types (JSON for example) could allow saving raw objects to variables without having to patch vm.toJSON to stringify everything.

Updated serialization logic to include an option for ignoring variable type serialization.
Add serialization options to allow variable type saving
@SharkPool-SP SharkPool-SP marked this pull request as ready for review March 2, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant