Git Product home page Git Product logo

Comments (6)

veblush avatar veblush commented on September 17, 2024

Thanks for reporting. Could you tell me details of your problem? (Unity version, error message, etc)
It should be working under iOS because it's the primary target.

from json.net.unity3d.

DieJob avatar DieJob commented on September 17, 2024

Thank you for your reply. My Unity version is 5.3.5f1 and error message as shown in Figure
img_0003

from json.net.unity3d.

veblush avatar veblush commented on September 17, 2024

Ok. At first, please make sure that your project has a link.xml at your project's asset folder. It's a must-have file to keep json.net work well under IL2CPP envroment like iOS.

And if possible, let me know what data structure you want to (de)serialize from text. It will help a lot.

from json.net.unity3d.

DieJob avatar DieJob commented on September 17, 2024

Maybe my poor english let you misunderstand my meaning. There are some reasons that I need use your project under Mono2x envroment on iOS platform and it works well under IL2CPP envroment.

My data just like this
{
"10001" : {
"id" : 10001,
"name" : tom,
"age" : 16
},
.......
}

from json.net.unity3d.

veblush avatar veblush commented on September 17, 2024

Oh I got it. When I read your first writing, my eye automatically translated mono2x to IL2CPP. 😉
Mono2x has been deprecated already after IL2CPP was introduced and it has a few subtle bugs of handling generic code which are important for json.net to work well on iOS. Because of this, mono2x is not supported anymore. Please use IL2CPP instead of mono2x on iOS even it's a way slow. 😉

from json.net.unity3d.

veblush avatar veblush commented on September 17, 2024

I close this issue because previous reopening looks a mistake click. If not, please reopen it and write a comment.

from json.net.unity3d.

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.