Table of Contents

Class LuaValueSerializers

Namespace
EncDotNet.S100.Pipelines.Vector.Lua
Assembly
EncDotNet.S100.Core.dll

Core serializers that convert a MarinerSettings-derived value into the Lua string literal expected by PortrayalSetContextParameter. These are pure value coercions with no product knowledge — the mapping policy (which mariner setting feeds which declared parameter, and any inversion) lives in each product's LuaContextParameterBinding list.

public static class LuaValueSerializers
Inheritance
LuaValueSerializers
Inherited Members

Methods

Bool(object?)

Serializes a bool as the Lua literal true/false.

public static string Bool(object? value)

Parameters

value object

Returns

string

Number(object?)

Serializes a numeric value using the invariant culture, matching the Lua side's numeric parsing of context-parameter strings.

public static string Number(object? value)

Parameters

value object

Returns

string

Str(object?)

Serializes a string value as-is (empty string when null).

public static string Str(object? value)

Parameters

value object

Returns

string