Skip to content

Serializing java long type to php integer #2

Closed
@middlebrain

Description

@middlebrain

Hi.

thanks for providing this serializer. Very helpful and easy to use.

With the current implementation however, there is no builtin adapter to serialize a java long to a php Integer. Casting long to int is not a good idea and writing a custom adapter seems not possible without extending the Writer class.

Another small issue: The documentation says, that registerBuiltinAdapters() registers all built-in adapters. That's not true. For example, the DoubleAdapter and the MapAdapter are missing.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions