langdev.web.serializers — Serializers for various content types

langdev.web.serializers.json(value)

Serializes a value into JSON (application/json).

Parameters:value – a value to serialize to JSON
Returns:a serialized JSON string
Return type:basestring
langdev.web.serializers.plist(value)

Serializes a value into property list (plist) format. (application/plist+xml)

Parameters:value – a value to serialize to plist
Returns:a serialized plist XML
Return type:basestring

Project Versions

Previous topic

langdev.web.pager — Pager for long length web application

Next topic

langdev.web.wsgi — Custom WSGI middlewares

This Page