MakeLiteralMap
Converts a Go map with string keys and arbitrary interface values into a core.LiteralMap.
def MakeLiteralMap(
v: map[string]interface{}
) - > *core.LiteralMap, error
Converts a generic map of string keys to interface values into a core.LiteralMap. This function is used to transform arbitrary data structures into a standardized literal map format for internal processing.
Parameters
| Name | Type | Description |
|---|---|---|
| v | map[string]interface{} | The input map where keys are strings and values are of any type that can be converted into a core.Literal. |
Returns
| Type | Description |
|---|---|
*core.LiteralMap, error | A pointer to a core.LiteralMap containing the converted literals, or an error if any value cannot be converted to a literal. |