Skip to content

AttributeError: 'Function' object has no attribute 'items' #244

Description

@DeoLeung
from geoalchemy2 import WKBElement
import simplejson as json
json.dumps({'a': [WKBElement('abcde')]})

I tried to use the default as parser to due with WKBElement, but the code is not going into the parser, how could I do the customized serialization?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions