Giter VIP home page Giter VIP logo

Comments (7)

aegis123 avatar aegis123 commented on July 20, 2024 1

you can use @Ignore(SERIALIZATION), @Ignore(DESERIALIZATION) or @Ignore(BOTH) to ignore abstract methods from typeadapter creation.

from auto-value-gson.

shalzz avatar shalzz commented on July 20, 2024

Just saw your comment in #27 , keep this open till support for it is added?

from auto-value-gson.

eliasbagley avatar eliasbagley commented on July 20, 2024

What's the status on this? I need to be able to ignore certain fields from being serialized

from auto-value-gson.

ubuntudroid avatar ubuntudroid commented on July 20, 2024

@aegis123 Unfortunately BOTH doesn't work as it isn't checked for. UPDATE: my bad, it doesn't need to be explicitly checked in the extension, but it still doesn't work for some reason. SERIALIZATION and DESERIALIZATION work pretty fine though.

from auto-value-gson.

aegis123 avatar aegis123 commented on July 20, 2024

@ubuntudroid sorry my mistake BOTH is the default option for @Ignore so you don't have to specify it.

from auto-value-gson.

ubuntudroid avatar ubuntudroid commented on July 20, 2024

from auto-value-gson.

ZacSweers avatar ZacSweers commented on July 20, 2024

I cannot repro this, so feel free to re-open with a repro code example. The test for this is pretty comprehensive as well. I am making some minor cleanups to the logic in #196

from auto-value-gson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.