Documentation ¶ Overview ¶ Package jsvalue validates values before Go renders and JSON serializes them for the pinned JavaScript runtime. Index ¶ func Validate(value any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Validate ¶ func Validate(value any) error Validate rejects Go values whose JSON representation cannot preserve the same observable value in JavaScript. Nil collections are rejected because generated array/object contracts expose collections, not null. Types ¶ This section is empty. Source Files ¶ View all Source files validate.go Click to show internal directories. Click to hide internal directories.