Giter VIP home page Giter VIP logo

Comments (9)

jacobdufault avatar jacobdufault commented on August 23, 2024

Would you mind submitting a pull request? Thanks!

from fullserializer.

jacobdufault avatar jacobdufault commented on August 23, 2024

Also, what about mirroring the [JsonObject] annotation with [fsObject] (or [fsSerializable]) and a similar MemberSerialization = fsMemberSerialization.OptIn enum.

from fullserializer.

NVentimiglia avatar NVentimiglia commented on August 23, 2024

Yeah, later. JsonObject sounds like a good name.

from fullserializer.

jacobdufault avatar jacobdufault commented on August 23, 2024

Ah, I meant that JsonObject is used by Json.NET and to use something like fsObject

from fullserializer.

NVentimiglia avatar NVentimiglia commented on August 23, 2024

+1

from fullserializer.

NVentimiglia avatar NVentimiglia commented on August 23, 2024

I tried to make a push, getting this error in SourceTree.
Ill google some more later, just wanted to let you know I did make a branch.

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
Pushing to https://[email protected]/jacobdufault/fullserializer.git

remote: Permission to jacobdufault/fullserializer.git denied to nventimiglia.
fatal: unable to access 'https://[email protected]/jacobdufault/fullserializer.git/': The requested URL returned error: 403

Completed with errors, see above.

from fullserializer.

jacobdufault avatar jacobdufault commented on August 23, 2024

Yea, I saw earlier that you forked it. Looks like you may have deleted the forked repository.

from fullserializer.

jacobdufault avatar jacobdufault commented on August 23, 2024
public class Base {
    public int Serialized0;
}

[fsObject(MemberSerialization = fsMemberSerialization.OptIn)]
public class SimpleModel : Base {
    public int NotSerialized0;

    [fsProperty]
    public int Serialized1;
    [SerializeField]
    public int Serialized2;
}

Serialized0 should be serialized but is not. I'm unfortunately going to need to refactor fsMetaType to support this; I'll likely just pull the latest fsMetaType from Full Inspector, where is undergone some significant changes but should easily support this scenario.

from fullserializer.

jacobdufault avatar jacobdufault commented on August 23, 2024

Fixed with the MemberSerialization changes awhile back

from fullserializer.

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.