func (c *APIClient) ReadInto(ctx context.Context, key string, obj interface{}, options ...CallOption) error {
	response, err := c.Get(ctx, key, options...)
	if err != nil {
		return err
	}
	asStrings := make(map[string]string)
	for k, v := range response {
		if s, ok := v.(string); ok {
			asStrings[k] = s
		}
	}
	return RestoreJSON(asStrings, obj)
}
// ReadInto reads a secret into an object.
ReadInto reads a secret into an object.
// ReadInto reads a secret into an object .
func (c *APIClient) ReadInto(ctx context.Context, key string, obj interface{}, options ...CallOption) error {
	response, err := c.Get(ctx, key, options...)
	if err != nil {
		return err
	}
	asStrings := make(map[string]string)
	for k, v := range response {
		if s, ok := v.(string); ok {
			asStrings[k] = s
		}
	}
	return RestoreJSON(asStrings, obj)
}
func ( c * APIClient ) ReadInto ( ctx context . Context , key string , obj interface { } , options ... CallOption ) error { response , err := c . Get ( ctx , key , options ... ) if err != nil { return err } asStrings := make ( map [ string ] string ) for k , v := range response { if s , ok := v . ( string ) ; ok { asStrings [ k ] = s } } return RestoreJSON ( asStrings , obj ) }
ReadInto reads a secret into an object.
ReadInto reads a secret into an object .