Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromGo ¶
FromGo converts a Go interface{} value to a scriptling Object. It handles primitive types (nil, bool, int, float, string), nested structures (maps, slices), and falls back to JSON marshaling for unknown types.
func MustParseJSON ¶
MustParseJSON parses a JSON string and returns a Scriptling object, returning an Error object if parsing fails.
func ParseJSON ¶
ParseJSON parses a JSON string and returns a Scriptling object. It uses UseNumber() to preserve large integers.
func ToGo ¶
ToGo converts a scriptling Object to a Go interface{}. It returns the underlying Go value for the object type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.