Base structure.
Returns a copy of this object. The underlying data will also be copied.
Returns the underlying value as type binary. The returned reference may become invalid if the value is owned by another object or if ownership is transferred to another object in the future. To maintain a reference to the value after assigning ownership to a dictionary or list pass this object to the set_value() function instead of passing the returned reference to set_binary().
Returns the underlying value as type bool.
Returns the underlying value as type dictionary. The returned reference may become invalid if the value is owned by another object or if ownership is transferred to another object in the future. To maintain a reference to the value after assigning ownership to a dictionary or list pass this object to the set_value() function instead of passing the returned reference to set_dictionary().
Returns the underlying value as type double.
Returns the underlying value as type int.
Returns the underlying value as type list. The returned reference may become invalid if the value is owned by another object or if ownership is transferred to another object in the future. To maintain a reference to the value after assigning ownership to a dictionary or list pass this object to the set_value() function instead of passing the returned reference to set_list().
Returns the underlying value as type string.
Returns the underlying value type.
Returns true (1) if this object and |that| object have an equivalent underlying value but are not necessarily the same object.
Returns true (1) if the underlying data is read-only. Some APIs may expose read-only objects.
Returns true (1) if this object and |that| object have the same underlying data. If true (1) modifications to this object will also affect |that| object and vice-versa.
Sets the underlying value as type binary. Returns true (1) if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.
Sets the underlying value as type bool. Returns true (1) if the value was set successfully.
Sets the underlying value as type dict. Returns true (1) if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.
Sets the underlying value as type double. Returns true (1) if the value was set successfully.
Sets the underlying value as type int. Returns true (1) if the value was set successfully.
Sets the underlying value as type list. Returns true (1) if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.
Sets the underlying value as type null. Returns true (1) if the value was set successfully.
Sets the underlying value as type string. Returns true (1) if the value was set successfully.
Structure that wraps other data value types. Complex types (binary, dictionary and list) will be referenced but not owned by this object. Can be used on any process and thread.