function

ObjectView

ObjectView presents an object Value, which is already immutable, without copying it. Any other kind, including the zero Value, is an empty view.

Arguments

ArgumentTypeDescription
objectstore.ValueThe object value.

Returns

The declared result.

View

Full signature

Related types

  • Value

    An immutable scalar, object, list, or populated document value.

  • View

    View is an immutable snapshot of one object's field values. Lookup, Get and String accept direct child names, not dotted paths. Follow nested objects with Get("seo").Get("title"); iterate lists with Get("variants").Elements(). These reads share immutable values without copying maps or slices.