Skip to content

GsonBuilder.disableUnsafe #445

@GoogleCodeExporter

Description

@GoogleCodeExporter
While it is nice to know that Unsafe is only used when no-arg ctors or instance 
creators are not present, it would be better to have a means to enforce it 
cannot be used.  Particularly in google app engine, I'd like to know that the 
code I use offline is safe inside GAE, rather than a delayed 
UnsupportedOperationException

Can you add GsonBuilder.disableUnsafe or similar?

Original issue reported on code.google.com by adrian.f...@gmail.com on 16 May 2012 at 5:58

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions