Package pyamf :: Package adapters :: Module util |
[hide private]
[frames] | no frames]

# Module util

source code

Useful helpers for adapters.

Since: 0.4

Functions | [hide private]
`list` |
to_list(obj, encoder) Converts an arbitrary object `obj` to a list. | source code
`dict` |
to_dict(obj, encoder) Converts an arbitrary object `obj` to a dict. | source code
set |
to_set(obj, encoder) Converts an arbitrary object `obj` to a set. | source code
`tuple` |
to_tuple(x, encoder) Converts an arbitrary object `obj` to a tuple. | source code
`tuple` |
to_string(x, encoder) Converts an arbitrary object `obj` to a string. | source code

Imports: __builtin__, set

Function Details | [hide private]

### to_string(x, encoder) | source code
Converts an arbitrary object `obj` to a string. Returns: `tuple` Since: 0.5